harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r587994 - in /harmony/enhanced/classlib/trunk/modules/print/src: main/java/common/org/apache/harmony/x/print/ main/java/common/org/apache/harmony/x/print/cups/ main/java/common/org/apache/harmony/x/print/ipp/ test/api/java/common/javax/prin...
Date Wed, 24 Oct 2007 20:05:32 GMT
Author: hindessm
Date: Wed Oct 24 13:05:31 2007
New Revision: 587994

URL: http://svn.apache.org/viewvc?rev=587994&view=rev
Log:
Spelling fixes.

Modified:
    harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/PrintClient.java
    harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ServiceUIDialog.java
    harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/cups/CUPSClient.java
    harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/cups/CUPSPrintServiceProvider.java
    harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ipp/IppDefs.java
    harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ipp/IppPrinter.java
    harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/ValueTests.java
    harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/attribute/AttributeSetUtilitiesTest.java
    harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/attribute/HashAttributeTest.java

Modified: harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/PrintClient.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/PrintClient.java?rev=587994&r1=587993&r2=587994&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/PrintClient.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/PrintClient.java
Wed Oct 24 13:05:31 2007
@@ -75,7 +75,7 @@
      * @param flavor flavor of document, for which check should
      * be performed.
      * @param attributes set of doc's print request attributes.
-     * @return true if attribute value is supported, and othervise
+     * @return true if attribute value is supported, and otherwise
      * false.
      */
     boolean isAttributeValueSupported(Attribute attribute,

Modified: harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ServiceUIDialog.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ServiceUIDialog.java?rev=587994&r1=587993&r2=587994&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ServiceUIDialog.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ServiceUIDialog.java
Wed Oct 24 13:05:31 2007
@@ -791,7 +791,7 @@
     void selectMedia(Media oldMedia) {
         if (sizeBox.getItemCount() > 0) {    
             
-            /* if media was not set - get it from attribites */
+            /* if media was not set - get it from attributes */
             if ((oldMedia == null) && attrs.containsKey(Media.class)) {
                 oldMedia = (Media) attrs.get(Media.class);
             }
@@ -1010,10 +1010,10 @@
      * Meaning of this fields should be updated if Orientation is changed.
      * 
      * When we initialize the dialog at first time, "Margins" values are 
-     * calculated using the following algorythm: 
+     * calculated using the following algorithm: 
      *
      *  * 1. If MediaPrintableArea + Media attributes are supported, attrs set 
-     *    contains MediaPrintableArea and Media, Media attibute from attrs is 
+     *    contains MediaPrintableArea and Media, Media attribute from attrs is 
      *    supported by selected print service and this is MediaSizeName object 
      *    (i.e. we can get size of this Media) and margins may be correctly 
      *    calculated using these Media and MediaMargins attributes - we get 
@@ -1644,7 +1644,7 @@
     }
     
     /*
-     * retirns dialog's PrintServices list
+     * returns dialog's PrintServices list
      */
     public PrintService [] getServices() {
         return services;

Modified: harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/cups/CUPSClient.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/cups/CUPSClient.java?rev=587994&r1=587993&r2=587994&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/cups/CUPSClient.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/cups/CUPSClient.java
Wed Oct 24 13:05:31 2007
@@ -103,7 +103,7 @@
     }
 
     /* 
-     * SPECIAL - supportedFlavors is global for perfomance 
+     * SPECIAL - supportedFlavors is global for performance 
      * but it can be set local for dynamic
      * 
      * @org.apache.harmony.x.print.PrintClient#getSupportedDocFlavors()
@@ -978,4 +978,4 @@
         }
     }
 
-}
\ No newline at end of file
+}

Modified: harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/cups/CUPSPrintServiceProvider.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/cups/CUPSPrintServiceProvider.java?rev=587994&r1=587993&r2=587994&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/cups/CUPSPrintServiceProvider.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/cups/CUPSPrintServiceProvider.java
Wed Oct 24 13:05:31 2007
@@ -380,7 +380,7 @@
             }
         }
 
-        // retun array of printers
+        // return array of printers
         return (String[]) ippservices.toArray(new String[0]);
     }
 
@@ -550,4 +550,4 @@
         CUPSPrintServiceProvider.verbose = newverbose;
         CUPSClient.setVerbose(newverbose);
     }
-}
\ No newline at end of file
+}

Modified: harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ipp/IppDefs.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ipp/IppDefs.java?rev=587994&r1=587993&r2=587994&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ipp/IppDefs.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ipp/IppDefs.java
Wed Oct 24 13:05:31 2007
@@ -375,7 +375,7 @@
             PRINTERDESCRIPTIONATTRIBUTES,
             PRINTEROPERATIONATTRIBUTES };
 
-    // TODO need to tune for perfomance
+    // TODO need to tune for performance
     public static byte getAttributeGtag(String aname) {
         for (int ii = ATAGS.length, i = 0; i < ii; i += 1) {
             Object[] atags = (Object[]) ATAGS[i];
@@ -388,7 +388,7 @@
         return -1;
     }
 
-    // TODO need to tune for perfomance
+    // TODO need to tune for performance
     public static byte getAttributeVtag(String aname) {
         for (int ii = ATAGS.length, i = 0; i < ii; i += 1) {
             Object[] atags = (Object[]) ATAGS[i];

Modified: harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ipp/IppPrinter.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ipp/IppPrinter.java?rev=587994&r1=587993&r2=587994&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ipp/IppPrinter.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ipp/IppPrinter.java
Wed Oct 24 13:05:31 2007
@@ -204,7 +204,7 @@
      * The method validate mimetypes.
      * Returned array is the same as parameter,
      * just with null in position of unsupported mimetypes.
-     * This method created for perfomance issue
+     * This method created for performance issue
      */
     public String[] requestGetSupportedMimeTypes(String[] mimetypes)
             throws Exception {
@@ -388,4 +388,4 @@
             return exception;
         }
     }
-}
\ No newline at end of file
+}

Modified: harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/ValueTests.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/ValueTests.java?rev=587994&r1=587993&r2=587994&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/ValueTests.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/ValueTests.java
Wed Oct 24 13:05:31 2007
@@ -465,7 +465,7 @@
 }
 
 /*
- * This native function returms Windows printers list
+ * This native function returns Windows printers list
  */
 private native String [] getWindowsPrintServices();
 
@@ -584,4 +584,4 @@
     System.out.println("----------------------------------------");
     System.out.println(s);
 }
-}
\ No newline at end of file
+}

Modified: harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/attribute/AttributeSetUtilitiesTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/attribute/AttributeSetUtilitiesTest.java?rev=587994&r1=587993&r2=587994&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/attribute/AttributeSetUtilitiesTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/attribute/AttributeSetUtilitiesTest.java
Wed Oct 24 13:05:31 2007
@@ -69,7 +69,7 @@
         try {
             AttributeSetUtilities.
                 verifyAttributeCategory(ColorSupported.class, DocAttribute.class);
-                fail("metod doesn't throw ClassCastException " +
+                fail("method doesn't throw ClassCastException " +
                         "if object is not a Class that implements interfaceName");
         } catch (ClassCastException e) {
             //System.out.println("testVerifyAttributeCategory1 - " + e.toString());
@@ -96,7 +96,7 @@
 
     /*
      * verifyAttributeCategory(Object object, Class interfaceName) method testing. 
-     * Tests that method throws exeption if object is a Class that implements 
+     * Tests that method throws exception if object is a Class that implements 
      * interfaceName but interfaceName is not a class that implements interface
      * Attribute.
      */
@@ -108,7 +108,7 @@
         try {
             AttributeSetUtilities.
                 verifyAttributeCategory(SimpleDoc.class, Doc.class);
-            fail("metod doesn't throw ClassCastException if object " +
+            fail("method doesn't throw ClassCastException if object " +
                     "is a Class that implements interfaceName but " +
                         "interfaceName is not a class that implements " +
                             "interface Attribute");

Modified: harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/attribute/HashAttributeTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/attribute/HashAttributeTest.java?rev=587994&r1=587993&r2=587994&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/attribute/HashAttributeTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/attribute/HashAttributeTest.java
Wed Oct 24 13:05:31 2007
@@ -201,7 +201,7 @@
 
     /*
      * clear() method testing. 
-     * Test that clear() remove all values from this attribite set.
+     * Test that clear() remove all values from this attribute set.
      */
     public final void testClear() {
 
@@ -382,7 +382,7 @@
 
     /*
      * remove(Attribute attribute) method testing. Tests that if given attribute
-     * wasn't in attribute set than remove(Attribute attribut) returns false.
+     * wasn't in attribute set than remove(Attribute attribute) returns false.
      */
     public final void testRemove() {
 



Mime
View raw message