wicket-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thran...@apache.org
Subject svn commit: r722109 - /wicket/trunk/wicket/src/test/java/org/apache/wicket/util/tester/MockFormPage.java
Date Mon, 01 Dec 2008 16:05:45 GMT
Author: thrantal
Date: Mon Dec  1 08:05:45 2008
New Revision: 722109

URL: http://svn.apache.org/viewvc?rev=722109&view=rev
Log:
Added missing generics type parameters
- no functional changes

Modified:
    wicket/trunk/wicket/src/test/java/org/apache/wicket/util/tester/MockFormPage.java

Modified: wicket/trunk/wicket/src/test/java/org/apache/wicket/util/tester/MockFormPage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket/src/test/java/org/apache/wicket/util/tester/MockFormPage.java?rev=722109&r1=722108&r2=722109&view=diff
==============================================================================
--- wicket/trunk/wicket/src/test/java/org/apache/wicket/util/tester/MockFormPage.java (original)
+++ wicket/trunk/wicket/src/test/java/org/apache/wicket/util/tester/MockFormPage.java Mon
Dec  1 08:05:45 2008
@@ -103,12 +103,12 @@
 	public MockFormPage()
 	{
 		domainObject = new MockDomainObject();
-		Form form = new Form("form", new CompoundPropertyModel(domainObject));
+		Form<MockDomainObject> form = new Form<MockDomainObject>("form", new CompoundPropertyModel<MockDomainObject>(domainObject));
 		add(form);
 
-		form.add(new TextField("text"));
+		form.add(new TextField<String>("text"));
 		form.add(new CheckBox("checkbox"));
-		form.add(new TextArea("textarea"));
+		form.add(new TextArea<String>("textarea"));
 		form.add(new Button("submit"));
 	}
 



Mime
View raw message