We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3676063 commit bc9b7beCopy full SHA for bc9b7be
src/SimpleCache.java
@@ -26,7 +26,7 @@
26
*
27
*/
28
29
-public class SimpleCache {
+public final class SimpleCache {
30
31
// Cache time is defined in day intervals.
32
private int cache_time = 1;
@@ -36,6 +36,10 @@ public class SimpleCache {
36
37
// Extension of the cached files
38
private String cache_extension = ".cache";
39
+
40
+ public SimpleCache() {
41
+ this.set_cache_path(cache_path);
42
+ }
43
44
public int get_cache_time () {
45
return this.cache_time;
0 commit comments