Cleanup of property names
This commit is contained in:
parent
467a5ff068
commit
c3731ca4b4
5 changed files with 43 additions and 29 deletions
|
|
@ -53,11 +53,13 @@ import java.util.logging.Logger;
|
|||
|
||||
public class PCDataSynchronizationDaemon extends ThreadedTCPNetworkServer implements HalDaemon {
|
||||
private static final Logger logger = LogUtil.getLogger();
|
||||
|
||||
public static final String PROPERTY_SYNC_PORT = "powerchallenge.sync_port";
|
||||
public static final int PROTOCOL_VERSION = 5; // Increment for protocol changes
|
||||
|
||||
|
||||
public PCDataSynchronizationDaemon() {
|
||||
super(HalContext.getIntegerProperty("sync_port"));
|
||||
super(HalContext.getIntegerProperty(PROPERTY_SYNC_PORT));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue