You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2016/03/12 23:59:16 UTC

wicket git commit: Use IClusterable for the serializable java.util.function classes to be consistent with the rest of the classes

Repository: wicket
Updated Branches:
  refs/heads/master 859b03134 -> 5d2983f8f


Use IClusterable for the serializable java.util.function classes to be consistent with the rest of the classes


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

Branch: refs/heads/master
Commit: 5d2983f8f4fc7f8dbd64fe36f8b28640edfc6726
Parents: 859b031
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Sat Mar 12 23:58:28 2016 +0100
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Sat Mar 12 23:58:28 2016 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/wicket/model/lambda/WicketConsumer.java | 4 +++-
 .../main/java/org/apache/wicket/model/lambda/WicketFunction.java | 4 +++-
 .../main/java/org/apache/wicket/model/lambda/WicketSupplier.java | 4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/5d2983f8/wicket-core/src/main/java/org/apache/wicket/model/lambda/WicketConsumer.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/model/lambda/WicketConsumer.java b/wicket-core/src/main/java/org/apache/wicket/model/lambda/WicketConsumer.java
index fd67e32..31acb96 100644
--- a/wicket-core/src/main/java/org/apache/wicket/model/lambda/WicketConsumer.java
+++ b/wicket-core/src/main/java/org/apache/wicket/model/lambda/WicketConsumer.java
@@ -19,12 +19,14 @@ package org.apache.wicket.model.lambda;
 import java.io.Serializable;
 import java.util.function.Consumer;
 
+import org.apache.wicket.util.io.IClusterable;
+
 /**
  * A {@link Serializable} {@link Consumer}.
  *
  * @param <T>
  *            - the type of the input to consume
  */
-public interface WicketConsumer<T> extends Consumer<T>, Serializable
+public interface WicketConsumer<T> extends Consumer<T>, IClusterable
 {
 }

http://git-wip-us.apache.org/repos/asf/wicket/blob/5d2983f8/wicket-core/src/main/java/org/apache/wicket/model/lambda/WicketFunction.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/model/lambda/WicketFunction.java b/wicket-core/src/main/java/org/apache/wicket/model/lambda/WicketFunction.java
index 6c1fcec..1ace170 100644
--- a/wicket-core/src/main/java/org/apache/wicket/model/lambda/WicketFunction.java
+++ b/wicket-core/src/main/java/org/apache/wicket/model/lambda/WicketFunction.java
@@ -19,6 +19,8 @@ package org.apache.wicket.model.lambda;
 import java.io.Serializable;
 import java.util.function.Function;
 
+import org.apache.wicket.util.io.IClusterable;
+
 /**
  * A {@link Serializable} {@link Function}.
  *
@@ -27,6 +29,6 @@ import java.util.function.Function;
  * @param <R>
  *            - the type of the result of the function
  */
-public interface WicketFunction<T, R> extends Function<T, R>, Serializable
+public interface WicketFunction<T, R> extends Function<T, R>, IClusterable
 {
 }

http://git-wip-us.apache.org/repos/asf/wicket/blob/5d2983f8/wicket-core/src/main/java/org/apache/wicket/model/lambda/WicketSupplier.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/model/lambda/WicketSupplier.java b/wicket-core/src/main/java/org/apache/wicket/model/lambda/WicketSupplier.java
index d876d77..05796bc 100644
--- a/wicket-core/src/main/java/org/apache/wicket/model/lambda/WicketSupplier.java
+++ b/wicket-core/src/main/java/org/apache/wicket/model/lambda/WicketSupplier.java
@@ -19,12 +19,14 @@ package org.apache.wicket.model.lambda;
 import java.io.Serializable;
 import java.util.function.Supplier;
 
+import org.apache.wicket.util.io.IClusterable;
+
 /**
  * A {@link Serializable} {@link Supplier}.
  *
  * @param <T>
  *            - the type of results supplied by this supplier
  */
-public interface WicketSupplier<T> extends Supplier<T>, Serializable
+public interface WicketSupplier<T> extends Supplier<T>, IClusterable
 {
 }