jdk/src/share/classes/javax/swing/text/Segment.java
changeset 438 2ae294e4518c
parent 2 90ce3da70b43
child 715 f16baef3a20e
--- a/jdk/src/share/classes/javax/swing/text/Segment.java	Fri Apr 04 20:32:59 2008 +0400
+++ b/jdk/src/share/classes/javax/swing/text/Segment.java	Mon Apr 07 14:53:51 2008 +0400
@@ -118,7 +118,7 @@
         if (array != null) {
             return new String(array, offset, count);
         }
-        return new String();
+        return "";
     }
 
     // --- CharacterIterator methods -------------------------------------