You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by iv...@apache.org on 2007/05/04 05:06:24 UTC

svn commit: r535064 - /incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java

Author: ivaynberg
Date: Thu May  3 20:06:23 2007
New Revision: 535064

URL: http://svn.apache.org/viewvc?view=rev&rev=535064
Log:
fix

Modified:
    incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java

Modified: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java?view=diff&rev=535064&r1=535063&r2=535064
==============================================================================
--- incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java (original)
+++ incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java Thu May  3 20:06:23 2007
@@ -748,7 +748,7 @@
 		{
 			throw new IllegalArgumentException("Argument `behavior` cannot be null");
 		}
-		if (behaviors == null || !behaviors.contains(behavior) == false)
+		if (behaviors == null || !behaviors.contains(behavior))
 		{
 			throw new IllegalStateException(
 					"Tried to remove a behavior that was not added to the component. Behavior: "