renamed PROXY_URL to PROXY_SERVER to avoid confusion

Former-commit-id: 730eebed21baddfbd90c42a95769f8781de95b56
This commit is contained in:
Jeremy Long
2014-05-24 07:05:05 -04:00
parent 60b0145e04
commit 5cc3a42832

View File

@@ -110,9 +110,9 @@ public final class Settings {
*/ */
public static final String CVE_SCHEMA_2_0 = "cve.url-2.0.base"; public static final String CVE_SCHEMA_2_0 = "cve.url-2.0.base";
/** /**
* The properties key for the proxy url. * The properties key for the proxy server.
*/ */
public static final String PROXY_URL = "proxy.url"; public static final String PROXY_SERVER = "proxy.url";
/** /**
* The properties key for the proxy port - this must be an integer value. * The properties key for the proxy port - this must be an integer value.
*/ */
@@ -257,6 +257,14 @@ public final class Settings {
localSettings.set(new Settings(propertiesFilePath)); localSettings.set(new Settings(propertiesFilePath));
} }
/**
* Cleans up resources to prevent memory leaks.
*
*/
public static void cleanup() {
cleanup(true);
}
/** /**
* Cleans up resources to prevent memory leaks. * Cleans up resources to prevent memory leaks.
* *