Revision: 5585
          http://jnode.svn.sourceforge.net/jnode/?rev=5585&view=rev
Author:   galatnm
Date:     2009-07-03 09:09:37 +0000 (Fri, 03 Jul 2009)

Log Message:
-----------
Remove new String(...)

Modified Paths:
--------------
    trunk/fs/src/fs/org/jnode/fs/jfat/FatShortDirEntry.java

Modified: trunk/fs/src/fs/org/jnode/fs/jfat/FatShortDirEntry.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/jfat/FatShortDirEntry.java     2009-07-02 
14:23:34 UTC (rev 5584)
+++ trunk/fs/src/fs/org/jnode/fs/jfat/FatShortDirEntry.java     2009-07-03 
09:09:37 UTC (rev 5585)
@@ -129,7 +129,7 @@
         } catch (CharacterCodingException ex) {
             log.debug("CharacterCodingException: CodePage error");
             log.debug("go on with standard decoding");
-            baseName = new String(base);
+            baseName = base;
         }
 
         if (ncase.isLowerBase())
@@ -149,7 +149,7 @@
         } catch (CharacterCodingException ex) {
             log.debug("CharacterCodingException: CodePage error");
             log.debug("go on with standard decoding");
-            extName = new String(ext);
+            extName = ext;
         }
 
         if (ncase.isLowerExt())


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
_______________________________________________
Jnode-svn-commits mailing list
Jnode-svn-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jnode-svn-commits

Reply via email to