Skip to content

Commit

Permalink
Merge pull request #3433 from lusarz/refactor-bisq-environment-4
Browse files Browse the repository at this point in the history
Refactor BisqEnvironment - use @getter annotation for appDataDir
  • Loading branch information
freimair committed Nov 1, 2019
2 parents 1999cfb + 4f4b394 commit 9d66307
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/src/main/java/bisq/core/app/BisqEnvironment.java
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ public static boolean isDaoActivated(Environment environment) {

protected final String appName;
protected final String userDataDir;
@Getter
protected final String appDataDir;
protected final String btcNetworkDir, userAgent;
protected final String logLevel, providers;
Expand Down Expand Up @@ -352,10 +353,6 @@ public boolean getIgnoreLocalBtcNode() {
return ignoreLocalBtcNode.equalsIgnoreCase("true");
}

public String getAppDataDir() {
return appDataDir;
}

private Resource getAppDirPropertiesResource() {
String location = String.format("file:%s/bisq.properties", appDataDir);
return resourceLoader.getResource(location);
Expand Down

0 comments on commit 9d66307

Please sign in to comment.