Zond: fix code protected
This commit is contained in:
@@ -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!");
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user