harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r823476 - /harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/Attributes.java
Date Fri, 09 Oct 2009 09:26:01 GMT
Author: tellison
Date: Fri Oct  9 09:26:00 2009
New Revision: 823476

URL: http://svn.apache.org/viewvc?rev=823476&view=rev
Log:
Add missing NLS tags.

Modified:
    harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/Attributes.java

Modified: harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/Attributes.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/Attributes.java?rev=823476&r1=823475&r2=823476&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/Attributes.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/Attributes.java
Fri Oct  9 09:26:00 2009
@@ -164,7 +164,7 @@
         public static final Name IMPLEMENTATION_URL = new Name(
                 "Implementation-URL"); //$NON-NLS-1$
 
-        static final Name NAME = new Name("Name");
+        static final Name NAME = new Name("Name"); //$NON-NLS-1$
 
         /**
          * A String which must satisfy the following EBNF grammar to specify an
@@ -218,7 +218,7 @@
         @Override
         public String toString() {
             try {
-                return new String(name, "ISO-8859-1");
+                return new String(name, "ISO-8859-1"); //$NON-NLS-1$
             } catch (UnsupportedEncodingException iee) {
                 throw new InternalError(iee.getLocalizedMessage());
             }



Mime
View raw message