Skip to content

Commit 761632c

Browse files
committed
Fixed DiskLruCache file naming
1 parent 5362cdb commit 761632c

File tree

1 file changed

+2
-2
lines changed
  • library/src/main/java/com/nostra13/universalimageloader/cache/disc/impl/ext

1 file changed

+2
-2
lines changed

library/src/main/java/com/nostra13/universalimageloader/cache/disc/impl/ext/DiskLruCache.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -964,11 +964,11 @@ private IOException invalidLengths(String[] strings) throws IOException {
964964
}
965965

966966
public File getCleanFile(int i) {
967-
return new File(directory, key + "" + i);
967+
return new File(directory, key + "." + i);
968968
}
969969

970970
public File getDirtyFile(int i) {
971-
return new File(directory, key + "" + i + ".tmp");
971+
return new File(directory, key + "." + i + ".tmp");
972972
}
973973
}
974974
}

0 commit comments

Comments
 (0)