[BUGFIX] Replaced the output to verbose only

This commit is contained in:
Emma Stone
2017-02-13 22:26:58 +00:00
parent cd3e753146
commit e5df44b54f
@@ -1,5 +1,6 @@
package org.parabot.core.asm.redirect;
import org.parabot.core.Core;
import org.parabot.core.Directories;
import java.io.InputStream;
@@ -33,7 +34,8 @@ public class SystemRedirect {
value = System.getProperty(s);
break;
}
System.out.printf("GetSystemProp %s = %s\n", s, value);
Core.verbose(String.format("GetSystemProp %s = %s\n", s, value));
return value;
}
@@ -55,7 +57,8 @@ public class SystemRedirect {
break;
}
}
System.out.printf("GetSystemProp %s = %s\n", s, value);
Core.verbose(String.format("GetSystemProp %s = %s\n", s, value));
return value;
}
@@ -64,12 +67,12 @@ public class SystemRedirect {
}
public static String setProperty(String s1, String s2) {
System.out.printf("SetSystemProp %s = %s\n", s1, s2);
Core.verbose(String.format("SetSystemProp %s = %s\n", s1, s2));
return System.setProperty(s1, s2);
}
public static String getenv(String string) {
System.out.printf("getEnv %s = %s\n", string, System.getenv(string));
Core.verbose(String.format("getEnv %s = %s\n", string, System.getenv(string)));
return System.getenv(string);
}