harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r502566 - in /harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing: plaf/basic/BasicComboBoxUI.java text/DefaultCaret.java
Date Fri, 02 Feb 2007 10:22:32 GMT
Author: apetrenko
Date: Fri Feb  2 02:22:31 2007
New Revision: 502566

URL: http://svn.apache.org/viewvc?view=rev&rev=502566
Log:
"//$NON-NLS-1$" has been added to internationalized strings

Modified:
    harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicComboBoxUI.java
    harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/text/DefaultCaret.java

Modified: harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicComboBoxUI.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicComboBoxUI.java?view=diff&rev=502566&r1=502565&r2=502566
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicComboBoxUI.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicComboBoxUI.java
Fri Feb  2 02:22:31 2007
@@ -487,7 +487,7 @@
 
     public int getAccessibleChildrenCount(final JComponent c) {
         if (comboBox == null) {
-            throw new NullPointerException(Messages.getString("swing.04"));
+            throw new NullPointerException(Messages.getString("swing.04")); //$NON-NLS-1$
         }
         return 0;
     }

Modified: harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/text/DefaultCaret.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/text/DefaultCaret.java?view=diff&rev=502566&r1=502565&r2=502566
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/text/DefaultCaret.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/text/DefaultCaret.java
Fri Feb  2 02:22:31 2007
@@ -679,7 +679,7 @@
      */
     public void install(final JTextComponent c) {
         if (c == null) { // Fix for HARMONY-1750, for compatiblity with RI
-            throw new NullPointerException(Messages.getString("swing.05"));
+            throw new NullPointerException(Messages.getString("swing.05")); //$NON-NLS-1$
         }
         if (!setComponent(c)) {
             return;



Mime
View raw message