harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r967049 - in /harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common: javax/print/attribute/ javax/print/attribute/standard/ org/apache/harmony/print/internal/nls/
Date Fri, 23 Jul 2010 11:28:41 GMT
Author: hindessm
Date: Fri Jul 23 11:28:40 2010
New Revision: 967049

URL: http://svn.apache.org/viewvc?rev=967049&view=rev
Log:
Minor fixes for "[#HARMONY-6597] [classlib][print] added nls to print".

Modified:
    harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/AttributeSetUtilities.java
    harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/HashAttributeSet.java
    harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/standard/NumberUpSupported.java
    harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/standard/PageRanges.java
    harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/standard/PrinterStateReasons.java
    harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/org/apache/harmony/print/internal/nls/messages.properties

Modified: harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/AttributeSetUtilities.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/AttributeSetUtilities.java?rev=967049&r1=967048&r2=967049&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/AttributeSetUtilities.java
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/AttributeSetUtilities.java
Fri Jul 23 11:28:40 2010
@@ -373,7 +373,7 @@ public final class AttributeSetUtilities
         } else if (interfaceName.isInstance(attribute)) {
             return (Attribute) attribute;
         } else {                  
-            //print.0B= object is not an instance of {0}
+            //print.0B= Object is not an instance of {0}
             throw new ClassCastException(Messages.getString("print.0B", interfaceName.getName()));
//$NON-NLS-1$        
         }
     }

Modified: harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/HashAttributeSet.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/HashAttributeSet.java?rev=967049&r1=967048&r2=967049&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/HashAttributeSet.java
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/HashAttributeSet.java
Fri Jul 23 11:28:40 2010
@@ -50,7 +50,7 @@ public class HashAttributeSet implements
 
     protected HashAttributeSet(Class<?> interfaceName) {
         if (interfaceName == null) {             
-            //print.0D= NUll attribute interface
+            //print.0D= Null attribute interface
             throw new NullPointerException(Messages.getString("print.0D")); //$NON-NLS-1$
       
         }
         attributeInterfaceName = interfaceName;
@@ -58,7 +58,7 @@ public class HashAttributeSet implements
 
     protected HashAttributeSet(Attribute attribute, Class<?> interfaceName) {
         if (interfaceName == null) {            
-            //print.0D= NUll attribute interface
+            //print.0D= Null attribute interface
             throw new NullPointerException(Messages.getString("print.0D")); //$NON-NLS-1$
           
         }
         attributeInterfaceName = interfaceName;
@@ -67,7 +67,7 @@ public class HashAttributeSet implements
 
     protected HashAttributeSet(Attribute[] attributes, Class<?> interfaceName) {
         if (interfaceName == null) {            
-             //print.0D= NUll attribute interface
+             //print.0D= Null attribute interface
             throw new NullPointerException(Messages.getString("print.0D")); //$NON-NLS-1$
       
         }
         attributeInterfaceName = interfaceName;

Modified: harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/standard/NumberUpSupported.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/standard/NumberUpSupported.java?rev=967049&r1=967048&r2=967049&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/standard/NumberUpSupported.java
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/standard/NumberUpSupported.java
Fri Jul 23 11:28:40 2010
@@ -59,7 +59,7 @@ public final class NumberUpSupported ext
         }
         for (int i = 0; i < canonicalArray.length; i++) {
             if (canonicalArray[i][0] < 1) {
-                //print.24= valid values are not less than 1
+                //print.24=Valid values are not less than 1
                 throw new IllegalArgumentException(Messages.getString("print.24")); //$NON-NLs-1$
           
             }
         }

Modified: harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/standard/PageRanges.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/standard/PageRanges.java?rev=967049&r1=967048&r2=967049&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/standard/PageRanges.java
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/standard/PageRanges.java
Fri Jul 23 11:28:40 2010
@@ -60,7 +60,7 @@ public final class PageRanges extends Se
     public PageRanges(String string) {
         super(string);
         if (string == null) {
-            //print.25= null string parameter
+            //print.25=Null string parameter
             throw new NullPointerException(Messages.getString("print.25")); //$NON-NLs-1$
           
         }
         precisionCheck();

Modified: harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/standard/PrinterStateReasons.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/standard/PrinterStateReasons.java?rev=967049&r1=967048&r2=967049&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/standard/PrinterStateReasons.java
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/javax/print/attribute/standard/PrinterStateReasons.java
Fri Jul 23 11:28:40 2010
@@ -70,7 +70,7 @@ public final class PrinterStateReasons e
         }
         if (severity == null) {
             //print.27=Severity is null
-            throw new NullPointerException(Messages.getString("print.26")); //$NON-NLS-1$
       
+            throw new NullPointerException(Messages.getString("print.27")); //$NON-NLS-1$
         }
         return super.put(reason, severity);
     }
@@ -78,7 +78,7 @@ public final class PrinterStateReasons e
     public Set<PrinterStateReason> printerStateReasonSet(Severity severity) {
         if (severity == null) {
             //print.27=Severity is null
-            throw new NullPointerException(Messages.getString("print.26")); //$NON-NLS-1$
      
+            throw new NullPointerException(Messages.getString("print.27")); //$NON-NLS-1$
      
         }
         Set<PrinterStateReason> set = new HashSet<PrinterStateReason>();
         for (Map.Entry<PrinterStateReason, Severity> mapEntry : entrySet()) {

Modified: harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/org/apache/harmony/print/internal/nls/messages.properties
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/org/apache/harmony/print/internal/nls/messages.properties?rev=967049&r1=967048&r2=967049&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/org/apache/harmony/print/internal/nls/messages.properties
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/print/src/main/java/common/org/apache/harmony/print/internal/nls/messages.properties
Fri Jul 23 11:28:40 2010
@@ -53,23 +53,3 @@ print.24=valid values are not less than 
 print.25=null string parameter
 print.26=Reason is null
 print.27=Severity is null
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-



Mime
View raw message