mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-23 07:27:22 +01:00
move static final to where it can be private
This commit is contained in:
parent
04c263fe28
commit
3c2a56166c
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue