Use hasWrapper() util method

This commit is contained in:
zzz
2019-06-03 11:39:56 +00:00
parent aa0bafb8a8
commit eea0990b54
3 changed files with 7 additions and 5 deletions

View File

@ -36,6 +36,7 @@ import net.i2p.util.SecureDirectory;
import net.i2p.util.SimpleScheduler;
import net.i2p.util.SimpleTimer;
import net.i2p.util.SimpleTimer2;
import net.i2p.util.SystemVersion;
import net.i2p.util.I2PProperties.I2PPropertyCallback;
/**
@ -928,7 +929,7 @@ public class I2PAppContext {
* @since 0.8.8
*/
public boolean hasWrapper() {
return System.getProperty("wrapper.version") != null;
return SystemVersion.hasWrapper();
}
/**