harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r824782 - /harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ServiceUIDialog.java
Date Tue, 13 Oct 2009 14:29:16 GMT
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);
             }



Mime
View raw message