harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r674054 - /harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/org/apache/harmony/x/swing/Utilities.java
Date Fri, 04 Jul 2008 13:51:07 GMT
Author: aaf
Date: Fri Jul  4 06:51:07 2008
New Revision: 674054

URL: http://svn.apache.org/viewvc?rev=674054&view=rev
Log:
Applied a post-fix for HARMONY-2707 [classlib][swing] javax.swing.plaf.basic.BasicArrowButton.paintTriangle()
throws unexpected NPE when incorrect 'direction' parameter is passed in: removed an assertion
which was incompatible with RI.

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

Modified: harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/org/apache/harmony/x/swing/Utilities.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/org/apache/harmony/x/swing/Utilities.java?rev=674054&r1=674053&r2=674054&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/org/apache/harmony/x/swing/Utilities.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/org/apache/harmony/x/swing/Utilities.java
Fri Jul  4 06:51:07 2008
@@ -1103,7 +1103,7 @@
             py = heights;
             break;
         default:
-            assert false : "incorrect direction";
+            // do nothing to be compatible with RI
             return;
         }
 



Mime
View raw message