mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-05 13:29:13 +00:00
Fixes #3940 - Double initialization of Log.
Removed LOG field, it was used improperly (log and rethrow) and it's now unnecessary. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
parent
632e9c57a8
commit
1fd24b3fca
@ -23,9 +23,6 @@ import java.nio.charset.StandardCharsets;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.eclipse.jetty.util.log.Log;
|
||||
import org.eclipse.jetty.util.log.Logger;
|
||||
|
||||
/**
|
||||
* Fast String Utilities.
|
||||
*
|
||||
@ -36,8 +33,6 @@ import org.eclipse.jetty.util.log.Logger;
|
||||
*/
|
||||
public class StringUtil
|
||||
{
|
||||
private static final Logger LOG = Log.getLogger(StringUtil.class);
|
||||
|
||||
private static final Trie<String> CHARSETS = new ArrayTrie<>(256);
|
||||
|
||||
public static final String ALL_INTERFACES = "0.0.0.0";
|
||||
@ -496,7 +491,6 @@ public class StringUtil
|
||||
}
|
||||
catch (UnsupportedEncodingException e)
|
||||
{
|
||||
LOG.warn(e);
|
||||
throw new IllegalArgumentException(e);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user