Update CachingTransformer.java
This commit is contained in:
parent
579fb77fe6
commit
769b879f2c
@ -37,6 +37,13 @@ public abstract class CachingTransformer implements StringTransformer {
|
||||
}
|
||||
}
|
||||
}
|
||||
try {
|
||||
FileOutputStream outS = new FileOutputStream(cacheFile);
|
||||
cache.store(outS, "---Lang---");
|
||||
outS.close();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
if (!cache.containsKey(str)) {
|
||||
cache.put(str, getTransformed(str));
|
||||
|
Loading…
Reference in New Issue
Block a user