harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r824780 - /harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ServiceUIDialog.java
Date Tue, 13 Oct 2009 14:26:24 GMT
Author: tellison
Date: Tue Oct 13 14:26:24 2009
New Revision: 824780

URL: http://svn.apache.org/viewvc?rev=824780&view=rev
Log:
Fix typo.

Modified:
    harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ServiceUIDialog.java

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=824780&r1=824779&r2=824780&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
Tue Oct 13 14:26:24 2009
@@ -166,7 +166,7 @@
 
     // State of dialog:
     public static final int APPROVE_PRINT = 1;    // OK button was pressed
-    public static final int CANSEL_PRINT = -1;    // Cancel button was pressed
+    public static final int CANCEL_PRINT = -1;    // Cancel button was pressed
     public static final int SETUP_ERROR = 2;      // Dialog Setup was finished with 
                                                   // error, dialog can not be shown
     public static final int SETUP_OK = 3;         // Dialog setup was OK, 
@@ -463,7 +463,7 @@
         
         printDialog.addWindowListener(new WindowAdapter() {
             public void windowClosing(WindowEvent event) {
-                dialogResult = CANSEL_PRINT;
+                dialogResult = CANCEL_PRINT;
             }
         });
     }
@@ -1617,7 +1617,7 @@
      */
     class cancelButtonListener implements ActionListener {
         public void actionPerformed(ActionEvent e) {
-            dialogResult = CANSEL_PRINT;
+            dialogResult = CANCEL_PRINT;
             printDialog.hide();
         }
     } /* End of cancelButtonListener */



Mime
View raw message