mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-06 01:09:02 +00:00
Merge branch '1.5.x'
This commit is contained in:
Regular → Executable
+1
-1
@@ -219,7 +219,7 @@ public class JarFileArchive implements Archive {
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return this.jarEntry.getName().toString();
|
||||
return this.jarEntry.getName();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Regular → Executable
+1
-1
@@ -123,7 +123,7 @@ public class JarFileArchiveTests {
|
||||
private Map<String, Archive.Entry> getEntriesMap(Archive archive) {
|
||||
Map<String, Archive.Entry> entries = new HashMap<String, Archive.Entry>();
|
||||
for (Archive.Entry entry : archive) {
|
||||
entries.put(entry.getName().toString(), entry);
|
||||
entries.put(entry.getName(), entry);
|
||||
}
|
||||
return entries;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user