directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pro...@apache.org
Subject svn commit: r446498 - /directory/trunks/mina/core/src/main/java/org/apache/mina/util/CharsetUtil.java
Date Fri, 15 Sep 2006 03:37:46 GMT
Author: proyal
Date: Thu Sep 14 20:37:46 2006
New Revision: 446498

URL: http://svn.apache.org/viewvc?view=rev&rev=446498
Log:
Remove unused logger, clean a little bit.

Modified:
    directory/trunks/mina/core/src/main/java/org/apache/mina/util/CharsetUtil.java

Modified: directory/trunks/mina/core/src/main/java/org/apache/mina/util/CharsetUtil.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/core/src/main/java/org/apache/mina/util/CharsetUtil.java?view=diff&rev=446498&r1=446497&r2=446498
==============================================================================
--- directory/trunks/mina/core/src/main/java/org/apache/mina/util/CharsetUtil.java (original)
+++ directory/trunks/mina/core/src/main/java/org/apache/mina/util/CharsetUtil.java Thu Sep
14 20:37:46 2006
@@ -23,9 +23,6 @@
 import java.io.OutputStreamWriter;
 import java.nio.charset.Charset;
 
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
 
 /**
  * Utilities for dealing with Charsets.
@@ -35,9 +32,7 @@
  */
 public class CharsetUtil
 {
-    public static final Logger log = LoggerFactory.getLogger( CharsetUtil.class );
-    
-    public static final String getDefaultCharsetName()
+    public static String getDefaultCharsetName()
     {
         // Use reflection here to be able to compile mina with jdk 1.4.
         try
@@ -48,6 +43,7 @@
         }
         catch ( Exception e )
         {
+            //ignore, not on java 5
         }
 
         // Try to use OutputStreamWriter instead.



Mime
View raw message