This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch wicket-8.x
in repository https://gitbox.apache.org/repos/asf/wicket.git


The following commit(s) were added to refs/heads/wicket-8.x by this push:
     new 4d7fe80  Fix build for Java 8
4d7fe80 is described below

commit 4d7fe80a85a0d6f0cfb2a4459abb6ea4a66f553c
Author: Martin Tzvetanov Grigorov <[email protected]>
AuthorDate: Mon Aug 16 13:54:10 2021 +0300

    Fix build for Java 8
---
 .../test/java/org/apache/wicket/markup/html/form/MultiPartFormPage.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/wicket-core/src/test/java/org/apache/wicket/markup/html/form/MultiPartFormPage.java
 
b/wicket-core/src/test/java/org/apache/wicket/markup/html/form/MultiPartFormPage.java
index 5891e13..65431ce 100644
--- 
a/wicket-core/src/test/java/org/apache/wicket/markup/html/form/MultiPartFormPage.java
+++ 
b/wicket-core/src/test/java/org/apache/wicket/markup/html/form/MultiPartFormPage.java
@@ -49,7 +49,7 @@ public class MultiPartFormPage extends WebPage
                form = new Form<Void>("form");
                add(form.setOutputMarkupId(true));
                
-               input = new TextField<>("input", Model.of(""))
+               input = new TextField<String>("input", Model.of(""))
                {
                        @Override
                        public boolean isMultiPart() {

Reply via email to