Code polish

This commit is contained in:
nathan 2016-12-26 23:31:08 +01:00
parent d9f3a6861f
commit 367f175c1a

View File

@ -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";
}