harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r933913 - /harmony/enhanced/java/trunk/classlib/modules/lang-management/src/main/java/java/lang/management/ThreadInfo.java
Date Wed, 14 Apr 2010 11:23:53 GMT
Author: hindessm
Date: Wed Apr 14 11:23:52 2010
New Revision: 933913

URL: http://svn.apache.org/viewvc?rev=933913&view=rev
Log:
Remove the '$NON-NLS-1$' tags from strings that ultimately should be NLS'd.
Just because they aren't at the moment doesn't mean we want to ignore them
forever.

Modified:
    harmony/enhanced/java/trunk/classlib/modules/lang-management/src/main/java/java/lang/management/ThreadInfo.java

Modified: harmony/enhanced/java/trunk/classlib/modules/lang-management/src/main/java/java/lang/management/ThreadInfo.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/lang-management/src/main/java/java/lang/management/ThreadInfo.java?rev=933913&r1=933912&r2=933913&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/lang-management/src/main/java/java/lang/management/ThreadInfo.java
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/lang-management/src/main/java/java/lang/management/ThreadInfo.java
Wed Apr 14 11:23:52 2010
@@ -103,7 +103,7 @@ public class ThreadInfo {
             String threadNameVal = (String) attributeVals[1];
             if (threadNameVal == null) {
                 throw new IllegalArgumentException(
-                        "Invalid composite data: Attribute threadName has null value"); //$NON-NLS-1$
+                        "Invalid composite data: Attribute threadName has null value");
             }
             String threadStateStringVal = (String) attributeVals[2];
 
@@ -131,7 +131,7 @@ public class ThreadInfo {
                     : null;
             CompositeData[] stackTraceDataVal = (CompositeData[]) attributeVals[12];
             if (stackTraceDataVal == null) {
-                throw new IllegalArgumentException("StackTraceElement[] is missing"); //$NON-NLS-1$
+                throw new IllegalArgumentException("StackTraceElement[] is missing");
             }
             StackTraceElement[] stackTraceVals = getStackTracesFromCompositeData(stackTraceDataVal);
             result = new ThreadInfo(threadIdVal, threadNameVal, threadStateVal,



Mime
View raw message