Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Commit

Permalink
Add setter for preventStandby
Browse files Browse the repository at this point in the history
  • Loading branch information
binwiederhier committed Mar 30, 2015
1 parent 2277c5e commit 5283e20
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ private static void loadAndInitUserConfigFile(File userConfigFile) {
}

// Other options
preventStandby = userConfigTO.preventStandbyEnabled();
preventStandby = userConfigTO.isPreventStandby();
configEncryptionKey = userConfigTO.getConfigEncryptionKey();
}
catch (ConfigException e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,13 @@ public Map<String, String> getSystemProperties() {
return systemProperties;
}

public boolean preventStandbyEnabled() {
public boolean isPreventStandby() {
return preventStandby;
}

public void setPreventStandby(boolean preventStandby) {
this.preventStandby = preventStandby;
}

public SaltedSecretKey getConfigEncryptionKey() {
return configEncryptionKey;
Expand Down

0 comments on commit 5283e20

Please sign in to comment.