harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r487608 - in /harmony/enhanced/classlib/trunk/modules/text/src/main/java: java/text/NumberFormat.java org/apache/harmony/text/internal/nls/messages.properties
Date Fri, 15 Dec 2006 18:14:28 GMT
Author: ayza
Date: Fri Dec 15 10:14:28 2006
New Revision: 487608

URL: http://svn.apache.org/viewvc?view=rev&rev=487608
Log:
Exception message was changed.

Modified:
    harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/NumberFormat.java
    harmony/enhanced/classlib/trunk/modules/text/src/main/java/org/apache/harmony/text/internal/nls/messages.properties

Modified: harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/NumberFormat.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/NumberFormat.java?view=diff&rev=487608&r1=487607&r2=487608
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/NumberFormat.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/NumberFormat.java
Fri Dec 15 10:14:28 2006
@@ -462,7 +462,8 @@
     @Override
     public final Object parseObject(String string, ParsePosition position) {
         if (position == null) {
-            throw new NullPointerException(Messages.getString("text.08"));
+            // text.1A=position is null
+            throw new NullPointerException(Messages.getString("text.1A")); //$NON-NLS-1$
         }
 
         try {

Modified: harmony/enhanced/classlib/trunk/modules/text/src/main/java/org/apache/harmony/text/internal/nls/messages.properties
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/text/src/main/java/org/apache/harmony/text/internal/nls/messages.properties?view=diff&rev=487608&r1=487607&r2=487608
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/text/src/main/java/org/apache/harmony/text/internal/nls/messages.properties
(original)
+++ harmony/enhanced/classlib/trunk/modules/text/src/main/java/org/apache/harmony/text/internal/nls/messages.properties
Fri Dec 15 10:14:28 2006
@@ -42,3 +42,5 @@
 text.17=Unknown format
 text.18=Not a valid {0}, subclass should override readResolve()
 text.19=Unparseable date: {0}
+text.1A=position is null
+



Mime
View raw message