Skip to content

Commit bc9b7be

Browse files
Update SimpleCache.java
1 parent 3676063 commit bc9b7be

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/SimpleCache.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
*/
2828

29-
public class SimpleCache {
29+
public final class SimpleCache {
3030

3131
// Cache time is defined in day intervals.
3232
private int cache_time = 1;
@@ -36,6 +36,10 @@ public class SimpleCache {
3636

3737
// Extension of the cached files
3838
private String cache_extension = ".cache";
39+
40+
public SimpleCache() {
41+
this.set_cache_path(cache_path);
42+
}
3943

4044
public int get_cache_time () {
4145
return this.cache_time;

0 commit comments

Comments
 (0)