Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
20fb55ea
Commit
20fb55ea
authored
Jun 20, 2014
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
parent
a3ceaf63
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
12 additions
and
0 deletions
+12
-0
JarLauncher.java
...ain/java/org/springframework/boot/loader/JarLauncher.java
+1
-0
JavaAgentDetector.java
...va/org/springframework/boot/loader/JavaAgentDetector.java
+1
-0
LaunchedURLClassLoader.java
...g/springframework/boot/loader/LaunchedURLClassLoader.java
+1
-0
WarLauncher.java
...ain/java/org/springframework/boot/loader/WarLauncher.java
+1
-0
RandomAccessData.java
...rg/springframework/boot/loader/data/RandomAccessData.java
+2
-0
RandomAccessDataFile.java
...pringframework/boot/loader/data/RandomAccessDataFile.java
+3
-0
Bytes.java
.../main/java/org/springframework/boot/loader/jar/Bytes.java
+1
-0
CentralDirectoryEndRecord.java
...gframework/boot/loader/jar/CentralDirectoryEndRecord.java
+1
-0
JarFile.java
...ain/java/org/springframework/boot/loader/jar/JarFile.java
+1
-0
No files found.
spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/JarLauncher.java
View file @
20fb55ea
...
@@ -44,4 +44,5 @@ public class JarLauncher extends ExecutableArchiveLauncher {
...
@@ -44,4 +44,5 @@ public class JarLauncher extends ExecutableArchiveLauncher {
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
)
{
new
JarLauncher
().
launch
(
args
);
new
JarLauncher
().
launch
(
args
);
}
}
}
}
spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/JavaAgentDetector.java
View file @
20fb55ea
...
@@ -32,4 +32,5 @@ public interface JavaAgentDetector {
...
@@ -32,4 +32,5 @@ public interface JavaAgentDetector {
* @param url The url to examine
* @param url The url to examine
*/
*/
public
boolean
isJavaAgentJar
(
URL
url
);
public
boolean
isJavaAgentJar
(
URL
url
);
}
}
spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/LaunchedURLClassLoader.java
View file @
20fb55ea
...
@@ -221,4 +221,5 @@ public class LaunchedURLClassLoader extends URLClassLoader {
...
@@ -221,4 +221,5 @@ public class LaunchedURLClassLoader extends URLClassLoader {
// Ignore
// Ignore
}
}
}
}
}
}
spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/WarLauncher.java
View file @
20fb55ea
...
@@ -79,4 +79,5 @@ public class WarLauncher extends ExecutableArchiveLauncher {
...
@@ -79,4 +79,5 @@ public class WarLauncher extends ExecutableArchiveLauncher {
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
)
{
new
WarLauncher
().
launch
(
args
);
new
WarLauncher
().
launch
(
args
);
}
}
}
}
spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/data/RandomAccessData.java
View file @
20fb55ea
...
@@ -65,5 +65,7 @@ public interface RandomAccessData {
...
@@ -65,5 +65,7 @@ public interface RandomAccessData {
* Obtain access to the underlying resource on each read, releasing it when done.
* Obtain access to the underlying resource on each read, releasing it when done.
*/
*/
PER_READ
PER_READ
}
}
}
}
spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/data/RandomAccessDataFile.java
View file @
20fb55ea
...
@@ -221,6 +221,7 @@ public class RandomAccessDataFile implements RandomAccessData {
...
@@ -221,6 +221,7 @@ public class RandomAccessDataFile implements RandomAccessData {
this
.
position
+=
amount
;
this
.
position
+=
amount
;
return
amount
;
return
amount
;
}
}
}
}
/**
/**
...
@@ -277,5 +278,7 @@ public class RandomAccessDataFile implements RandomAccessData {
...
@@ -277,5 +278,7 @@ public class RandomAccessDataFile implements RandomAccessData {
throw
new
IOException
(
ex
);
throw
new
IOException
(
ex
);
}
}
}
}
}
}
}
}
spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/Bytes.java
View file @
20fb55ea
...
@@ -76,4 +76,5 @@ class Bytes {
...
@@ -76,4 +76,5 @@ class Bytes {
}
}
return
value
;
return
value
;
}
}
}
}
spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/CentralDirectoryEndRecord.java
View file @
20fb55ea
...
@@ -119,4 +119,5 @@ class CentralDirectoryEndRecord {
...
@@ -119,4 +119,5 @@ class CentralDirectoryEndRecord {
public
int
getNumberOfRecords
()
{
public
int
getNumberOfRecords
()
{
return
(
int
)
Bytes
.
littleEndianValue
(
this
.
block
,
this
.
offset
+
10
,
2
);
return
(
int
)
Bytes
.
littleEndianValue
(
this
.
block
,
this
.
offset
+
10
,
2
);
}
}
}
}
spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/JarFile.java
View file @
20fb55ea
...
@@ -478,4 +478,5 @@ public class JarFile extends java.util.jar.JarFile implements Iterable<JarEntryD
...
@@ -478,4 +478,5 @@ public class JarFile extends java.util.jar.JarFile implements Iterable<JarEntryD
*/
*/
SYSTEM_INDEPENDENT
SYSTEM_INDEPENDENT
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment