Skip to content

Commit ec12d51

Browse files
committed
Polish
1 parent 7ebf71a commit ec12d51

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/JarFileEntries.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public void visitStart(CentralDirectoryEndRecord endRecord, RandomAccessData cen
120120
int maxSize = endRecord.getNumberOfRecords();
121121
this.centralDirectoryData = centralDirectoryData;
122122
this.hashCodes = new int[maxSize];
123-
this.centralDirectoryOffsets = Offsets.get(endRecord);
123+
this.centralDirectoryOffsets = Offsets.from(endRecord);
124124
this.positions = new int[maxSize];
125125
}
126126

@@ -440,7 +440,7 @@ private interface Offsets {
440440

441441
void swap(int i, int j);
442442

443-
static Offsets get(CentralDirectoryEndRecord endRecord) {
443+
static Offsets from(CentralDirectoryEndRecord endRecord) {
444444
int size = endRecord.getNumberOfRecords();
445445
return endRecord.isZip64() ? new Zip64Offsets(size) : new ZipOffsets(size);
446446
}

0 commit comments

Comments
 (0)