You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by pa...@apache.org on 2016/11/15 19:08:30 UTC

wicket git commit: WICKET-6276: stupid compilefix, bug in javac

Repository: wicket
Updated Branches:
  refs/heads/master b40e9e1cd -> 61e99d828


WICKET-6276: stupid compilefix, bug in javac


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/61e99d82
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/61e99d82
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/61e99d82

Branch: refs/heads/master
Commit: 61e99d82818636b84f19aa88fabbbccd44f7a074
Parents: b40e9e1
Author: Emond Papegaaij <pa...@apache.org>
Authored: Tue Nov 15 20:08:16 2016 +0100
Committer: Emond Papegaaij <pa...@apache.org>
Committed: Tue Nov 15 20:08:16 2016 +0100

----------------------------------------------------------------------
 .../src/test/java/org/apache/wicket/model/LambdaModelTest.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/61e99d82/wicket-core/src/test/java/org/apache/wicket/model/LambdaModelTest.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/test/java/org/apache/wicket/model/LambdaModelTest.java b/wicket-core/src/test/java/org/apache/wicket/model/LambdaModelTest.java
index 3b7a890..5533a07 100644
--- a/wicket-core/src/test/java/org/apache/wicket/model/LambdaModelTest.java
+++ b/wicket-core/src/test/java/org/apache/wicket/model/LambdaModelTest.java
@@ -23,6 +23,7 @@ import static org.junit.Assert.assertThat;
 
 import org.apache.wicket.core.util.lang.WicketObjects;
 import org.apache.wicket.model.lambda.Person;
+import org.danekja.java.util.function.serializable.SerializableConsumer;
 import org.junit.Test;
 
 /**
@@ -45,7 +46,7 @@ public class LambdaModelTest
 		Person person = new Person();
 		IModel<String> personNameModel = LambdaModel.of(
 				() -> person.getName(),
-				(name) -> person.setName(name));
+				(SerializableConsumer<String>) (name) -> person.setName(name));
 		check(personNameModel);
 	}