Commit 06e44c71 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge branch '1.4.x' into 1.5.x

parents d0c3ece0 d89cf943
...@@ -219,7 +219,7 @@ public class JarFileArchive implements Archive { ...@@ -219,7 +219,7 @@ public class JarFileArchive implements Archive {
@Override @Override
public String getName() { public String getName() {
return this.jarEntry.getName().toString(); return this.jarEntry.getName();
} }
} }
......
...@@ -123,7 +123,7 @@ public class JarFileArchiveTests { ...@@ -123,7 +123,7 @@ public class JarFileArchiveTests {
private Map<String, Archive.Entry> getEntriesMap(Archive archive) { private Map<String, Archive.Entry> getEntriesMap(Archive archive) {
Map<String, Archive.Entry> entries = new HashMap<String, Archive.Entry>(); Map<String, Archive.Entry> entries = new HashMap<String, Archive.Entry>();
for (Archive.Entry entry : archive) { for (Archive.Entry entry : archive) {
entries.put(entry.getName().toString(), entry); entries.put(entry.getName(), entry);
} }
return entries; return entries;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment