mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Polish
This commit is contained in:
parent
a3ceaf63e2
commit
20fb55ea47
@ -44,4 +44,5 @@ public class JarLauncher extends ExecutableArchiveLauncher {
|
||||
public static void main(String[] args) {
|
||||
new JarLauncher().launch(args);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -32,4 +32,5 @@ public interface JavaAgentDetector {
|
||||
* @param url The url to examine
|
||||
*/
|
||||
public boolean isJavaAgentJar(URL url);
|
||||
|
||||
}
|
||||
|
@ -221,4 +221,5 @@ public class LaunchedURLClassLoader extends URLClassLoader {
|
||||
// Ignore
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -79,4 +79,5 @@ public class WarLauncher extends ExecutableArchiveLauncher {
|
||||
public static void main(String[] args) {
|
||||
new WarLauncher().launch(args);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -65,5 +65,7 @@ public interface RandomAccessData {
|
||||
* Obtain access to the underlying resource on each read, releasing it when done.
|
||||
*/
|
||||
PER_READ
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -221,6 +221,7 @@ public class RandomAccessDataFile implements RandomAccessData {
|
||||
this.position += amount;
|
||||
return amount;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@ -277,5 +278,7 @@ public class RandomAccessDataFile implements RandomAccessData {
|
||||
throw new IOException(ex);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -76,4 +76,5 @@ class Bytes {
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -119,4 +119,5 @@ class CentralDirectoryEndRecord {
|
||||
public int getNumberOfRecords() {
|
||||
return (int) Bytes.littleEndianValue(this.block, this.offset + 10, 2);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -478,4 +478,5 @@ public class JarFile extends java.util.jar.JarFile implements Iterable<JarEntryD
|
||||
*/
|
||||
SYSTEM_INDEPENDENT
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user