equal
deleted
inserted
replaced
54 |
54 |
55 public static Repository getRepository() { |
55 public static Repository getRepository() { |
56 return instance; |
56 return instance; |
57 } |
57 } |
58 |
58 |
59 public synchronized void setBasePath(SafePath baseLocation) throws Exception { |
59 public synchronized void setBasePath(SafePath baseLocation) throws IOException { |
60 |
|
61 if(baseLocation.equals(this.baseLocation)) { |
60 if(baseLocation.equals(this.baseLocation)) { |
62 Logger.log(LogTag.JFR, LogLevel.INFO, "Same base repository path " + baseLocation.toString() + " is set"); |
61 Logger.log(LogTag.JFR, LogLevel.INFO, "Same base repository path " + baseLocation.toString() + " is set"); |
63 return; |
62 return; |
64 } |
63 } |
65 // Probe to see if repository can be created, needed for fail fast |
64 // Probe to see if repository can be created, needed for fail fast |