Code polish
This commit is contained in:
parent
d9f3a6861f
commit
367f175c1a
|
@ -356,7 +356,7 @@ class CacheUtil {
|
|||
// can be wimpy, only one at a time
|
||||
String hash = hashName(cachedName);
|
||||
String extension = FileUtil.getExtension(cachedName);
|
||||
if (extension.length() == 0) {
|
||||
if (extension.isEmpty()) {
|
||||
extension = "cache";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user