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 2010/08/07 02:50:20 UTC

svn commit: r983155 - /wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/ComponentInitializationTest.java

Author: ivaynberg
Date: Sat Aug  7 00:50:20 2010
New Revision: 983155

URL: http://svn.apache.org/viewvc?rev=983155&view=rev
Log:
better name

Modified:
    wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/ComponentInitializationTest.java

Modified: wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/ComponentInitializationTest.java
URL: http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/ComponentInitializationTest.java?rev=983155&r1=983154&r2=983155&view=diff
==============================================================================
--- wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/ComponentInitializationTest.java (original)
+++ wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/ComponentInitializationTest.java Sat Aug  7 00:50:20 2010
@@ -117,7 +117,7 @@ public class ComponentInitializationTest
 		boolean illegalState = false;
 		try
 		{
-			page.add(new PossibleDevelopedComponent("addedComponent"));
+			page.add(new InvalidComponent("addedComponent"));
 		}
 		catch (IllegalStateException e)
 		{
@@ -180,11 +180,11 @@ public class ComponentInitializationTest
 
 	}
 
-	private static class PossibleDevelopedComponent extends WebComponent
+	private static class InvalidComponent extends WebComponent
 	{
 		private final boolean initialized = false;
 
-		public PossibleDevelopedComponent(String id)
+		public InvalidComponent(String id)
 		{
 			super(id);
 		}
@@ -202,7 +202,7 @@ public class ComponentInitializationTest
 		@Override
 		protected void onInitialize()
 		{
-			// possible already implemented method by some user
+			// missing super call
 		}
 	}
 }