You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by te...@apache.org on 2009/10/13 16:29:16 UTC

svn commit: r824782 - /harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ServiceUIDialog.java

Author: tellison
Date: Tue Oct 13 14:29:16 2009
New Revision: 824782

URL: http://svn.apache.org/viewvc?rev=824782&view=rev
Log:
Fix test to use default value correctly.

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=824782&r1=824781&r2=824782&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:29:16 2009
@@ -631,7 +631,7 @@
                  * case. If default Copies value is null - I suppose that default 
                  * and supported value is 1 Copy only. 
                 */
-                supported = new CopiesSupported( (defaul == null)
+                supported = new CopiesSupported( (defaul != null)
                         ? defaul.getValue()
                         : 1);
             }