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/08/10 23:08:29 UTC
svn commit: r564769 -
/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java
Author: ivaynberg
Date: Fri Aug 10 14:08:28 2007
New Revision: 564769
URL: http://svn.apache.org/viewvc?view=rev&rev=564769
Log:
removed some noise
Modified:
wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java
Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java?view=diff&rev=564769&r1=564768&r2=564769
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java Fri Aug 10 14:08:28 2007
@@ -1924,7 +1924,7 @@
{
throw new IllegalArgumentException("Argument `behavior` cannot be null");
}
- if (behaviors == null || !behaviors.contains(behavior))
+ if (!behaviors.contains(behavior))
{
throw new IllegalStateException(
"Tried to remove a behavior that was not added to the component. Behavior: " +