Skip to content

Commit

Permalink
Update SimpleCache.java
Browse files Browse the repository at this point in the history
  • Loading branch information
HiddenMotives committed Nov 28, 2016
1 parent 3676063 commit bc9b7be
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/SimpleCache.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*
*/

public class SimpleCache {
public final class SimpleCache {

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

// Extension of the cached files
private String cache_extension = ".cache";

public SimpleCache() {
this.set_cache_path(cache_path);
}

public int get_cache_time () {
return this.cache_time;
Expand Down

0 comments on commit bc9b7be

Please sign in to comment.