Skip to content

Commit a249a1a

Browse files
committed
Merge branch '2.2.x' into 2.3.x
2 parents 02c754b + b8e6b2e commit a249a1a

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ private int getEntryIndex(CharSequence name) {
377377
int hashCode = AsciiBytes.hashCode(name);
378378
int index = getFirstIndex(hashCode);
379379
while (index >= 0 && index < this.size && this.hashCodes[index] == hashCode) {
380-
CentralDirectoryFileHeader candidate = getEntry(index, CentralDirectoryFileHeader.class, false, null);
380+
FileHeader candidate = getEntry(index, FileHeader.class, false, null);
381381
if (candidate.hasName(name, NO_SUFFIX)) {
382382
return index;
383383
}

0 commit comments

Comments
 (0)