Remove obsolete properties.

This commit is contained in:
Heng Sin Low 2008-12-03 06:59:58 +00:00
parent 823c1fe65c
commit 9eeee632c8
1 changed files with 2 additions and 14 deletions

View File

@ -186,11 +186,6 @@ public final class Ini implements Serializable
public static final String DEFAULT_LOAD_TAB_META_DATA_BG = "N"; public static final String DEFAULT_LOAD_TAB_META_DATA_BG = "N";
/** Apply wan security protection **/
public static final String P_SERVER_VALIDATE_SECURITY_TOKEN = "ServerValidateSecurityToken";
public static final String DEFAULT_SERVER_VALIDATE_SECURITY_TOKEN = "Y";
/** Ini Properties */ /** Ini Properties */
private static final String[] PROPERTIES = new String[] { private static final String[] PROPERTIES = new String[] {
P_UID, P_PWD, P_TRACELEVEL, P_TRACEFILE, P_UID, P_PWD, P_TRACELEVEL, P_TRACEFILE,
@ -207,8 +202,7 @@ public final class Ini implements Serializable
P_SINGLE_INSTANCE_PER_WINDOW, P_SINGLE_INSTANCE_PER_WINDOW,
P_OPEN_WINDOW_MAXIMIZED, P_OPEN_WINDOW_MAXIMIZED,
P_WARNING, P_WARNING_de, P_WARNING, P_WARNING_de,
P_CHARSET, P_LOAD_TAB_META_DATA_BG, P_CHARSET, P_LOAD_TAB_META_DATA_BG
P_SERVER_VALIDATE_SECURITY_TOKEN
}; };
/** Ini Property Values */ /** Ini Property Values */
private static final String[] VALUES = new String[] { private static final String[] VALUES = new String[] {
@ -226,8 +220,7 @@ public final class Ini implements Serializable
DEFAULT_SINGLE_INSTANCE_PER_WINDOW?"Y":"N", DEFAULT_SINGLE_INSTANCE_PER_WINDOW?"Y":"N",
DEFAULT_OPEN_WINDOW_MAXIMIZED?"Y":"N", DEFAULT_OPEN_WINDOW_MAXIMIZED?"Y":"N",
DEFAULT_WARNING, DEFAULT_WARNING_de, DEFAULT_WARNING, DEFAULT_WARNING_de,
DEFAULT_CHARSET, DEFAULT_LOAD_TAB_META_DATA_BG, DEFAULT_CHARSET, DEFAULT_LOAD_TAB_META_DATA_BG
DEFAULT_SERVER_VALIDATE_SECURITY_TOKEN
}; };
/** Container for Properties */ /** Container for Properties */
@ -948,11 +941,6 @@ public final class Ini implements Serializable
return Charset.defaultCharset(); return Charset.defaultCharset();
} }
public static boolean isServerValidateSecurityToken()
{
return isPropertyBool(P_SERVER_VALIDATE_SECURITY_TOKEN);
}
public static String getPropertyFileName() public static String getPropertyFileName()
{ {
return s_propertyFileName; return s_propertyFileName;