mirror of
https://github.com/developersu/ns-usbloader.git
synced 2025-05-13 22:54:49 -04:00
Fix dependencies resolution
This commit is contained in:
parent
83695511d3
commit
c34531a92f
4 changed files with 12 additions and 22 deletions
|
@ -88,8 +88,6 @@ public class AppPreferences {
|
|||
public String getHostIp(){ return preferences.get("HOSTIP", "0.0.0.0").replaceAll("(\\s)|(\t)", "");} // who the hell said 'paranoid'?
|
||||
public void setHostIp(String ip){preferences.put("HOSTIP", ip);}
|
||||
|
||||
public void give(){preferences.putBoolean("man", true);}
|
||||
public boolean take(){return preferences.getBoolean("man", false);}
|
||||
public String getHostPort(){
|
||||
String value = preferences.get("HOSTPORT", "6042");
|
||||
if (!value.matches("^[0-9]{1,5}$"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue