diff --git a/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/JarFileEntries.java b/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/JarFileEntries.java index ac27210124..31c65fe76d 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/JarFileEntries.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/JarFileEntries.java @@ -120,7 +120,7 @@ class JarFileEntries implements CentralDirectoryVisitor, Iterable { int maxSize = endRecord.getNumberOfRecords(); this.centralDirectoryData = centralDirectoryData; this.hashCodes = new int[maxSize]; - this.centralDirectoryOffsets = Offsets.get(endRecord); + this.centralDirectoryOffsets = Offsets.from(endRecord); this.positions = new int[maxSize]; } @@ -440,7 +440,7 @@ class JarFileEntries implements CentralDirectoryVisitor, Iterable { void swap(int i, int j); - static Offsets get(CentralDirectoryEndRecord endRecord) { + static Offsets from(CentralDirectoryEndRecord endRecord) { int size = endRecord.getNumberOfRecords(); return endRecord.isZip64() ? new Zip64Offsets(size) : new ZipOffsets(size); }