diff options
author | Manuel Bentele | 2021-12-16 09:51:08 +0100 |
---|---|---|
committer | Manuel Bentele | 2021-12-16 09:51:08 +0100 |
commit | c7977de19b84d18e88833ad5461665aecd21fb64 (patch) | |
tree | 0c7506579d34122f3257ca3c5e1d8cac4838928a /src/main/java/org/openslx/satserver | |
parent | Update log4j because of the CVE-2021-44228 security flaw (diff) | |
download | tmlite-bwlp-c7977de19b84d18e88833ad5461665aecd21fb64.tar.gz tmlite-bwlp-c7977de19b84d18e88833ad5461665aecd21fb64.tar.xz tmlite-bwlp-c7977de19b84d18e88833ad5461665aecd21fb64.zip |
Remove handler for proxy settings
Diffstat (limited to 'src/main/java/org/openslx/satserver')
-rw-r--r-- | src/main/java/org/openslx/satserver/util/ProxyHandler.java | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/main/java/org/openslx/satserver/util/ProxyHandler.java b/src/main/java/org/openslx/satserver/util/ProxyHandler.java deleted file mode 100644 index f70a496..0000000 --- a/src/main/java/org/openslx/satserver/util/ProxyHandler.java +++ /dev/null @@ -1,38 +0,0 @@ -package org.openslx.satserver.util; - -import org.openslx.network.ProxyConfiguration; - -/** - * Class for handling proxy configuration in task manager. - * - * @author bjoern - * - */ -public class ProxyHandler -{ - private static boolean hasDoneConfigProxy = false; - private static final Object proxyMutex = new Object(); - - /** - * Do proxy setup if not done already - */ - public static void configProxy() - { - configProxy( false ); - } - - /** - * Do proxy setup if not done already, or if explicitly forced. - * - * @param force Do setup even if already done - */ - public static synchronized void configProxy( boolean force ) - { - synchronized ( proxyMutex ) { - if ( !hasDoneConfigProxy || force ) { - ProxyConfiguration.configProxy(); - hasDoneConfigProxy = true; - } - } - } -} |