Archived
0

Zond: fix code protected

This commit is contained in:
2017-07-24 23:38:07 +03:00
parent 6f087426a2
commit ddcfa1edf3
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ public class Config {
private Config(){ private Config(){
} }
void load(InputStream inputStream) throws IOException { private void load(InputStream inputStream) throws IOException {
properties.load(inputStream); properties.load(inputStream);
if (properties.size() == 0) { if (properties.size() == 0) {
throw new IOException("Config empty!"); throw new IOException("Config empty!");

View File

@@ -18,7 +18,7 @@ public class ZondExecuteWatchdog extends ExecuteWatchdog {
private long pid; private long pid;
private String cmdkiller; private String cmdkiller;
public ZondExecuteWatchdog(long timeout, PipeInputStream inputStream, String cmdkiller) { ZondExecuteWatchdog(long timeout, PipeInputStream inputStream, String cmdkiller) {
super(timeout); super(timeout);
this.inputStream = inputStream; this.inputStream = inputStream;
this.cmdkiller = cmdkiller.trim(); this.cmdkiller = cmdkiller.trim();