move static final to where it can be private

This commit is contained in:
Eric House 2015-07-24 06:10:26 -07:00
parent 04c263fe28
commit 3c2a56166c
2 changed files with 4 additions and 4 deletions

View file

@ -198,10 +198,12 @@ public class NetUtils {
return msgs;
} // queryRelay
private static final String FORCE_RELAY_HOST = null;
// private static final String FORCE_RELAY_HOST = "eehouse.org";
public static String forceHost( String host )
{
if ( 0 < XWApp.FORCE_RELAY_HOST.length() ) {
host = XWApp.FORCE_RELAY_HOST;
if ( null != FORCE_RELAY_HOST ) {
host = FORCE_RELAY_HOST;
}
return host;
}

View file

@ -45,8 +45,6 @@ public class XWApp extends Application {
public static final boolean UDP_ENABLED = true;
public static final boolean SMS_INVITE_ENABLED = true;
public static final boolean LOCUTILS_ENABLED = false;
public static final String FORCE_RELAY_HOST = "";
// public static final String FORCE_RELAY_HOST = "eehouse.org";
public static final String SMS_PUBLIC_HEADER = "-XW4";
public static final int MAX_TRAY_TILES = 7; // comtypes.h