summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeif Åstrand <legioth@gmail.com>2017-01-16 13:10:12 +0200
committerAleksi Hietanen <aleksi@vaadin.com>2017-01-16 13:10:12 +0200
commit8a4ada326b8828c15fab72de56777edce298a1e2 (patch)
tree99066245ea75d4287827f4ec6a28f5cfffb58638
parentee28311a0674d1babb53be04b61c8d65781f600b (diff)
downloadvaadin-framework-8a4ada326b8828c15fab72de56777edce298a1e2.tar.gz
vaadin-framework-8a4ada326b8828c15fab72de56777edce298a1e2.zip
Fix comments in serializable functional interfaces (#8246)
-rw-r--r--server/src/main/java/com/vaadin/server/SerializableBiPredicate.java2
-rw-r--r--server/src/main/java/com/vaadin/server/SerializablePredicate.java2
-rw-r--r--server/src/main/java/com/vaadin/server/SerializableToIntFunction.java6
3 files changed, 5 insertions, 5 deletions
diff --git a/server/src/main/java/com/vaadin/server/SerializableBiPredicate.java b/server/src/main/java/com/vaadin/server/SerializableBiPredicate.java
index dd0635ca9d..ca79735d8d 100644
--- a/server/src/main/java/com/vaadin/server/SerializableBiPredicate.java
+++ b/server/src/main/java/com/vaadin/server/SerializableBiPredicate.java
@@ -30,5 +30,5 @@ import java.util.function.BiPredicate;
*/
public interface SerializableBiPredicate<T, U>
extends BiPredicate<T, U>, Serializable {
- // Only method inherited from Function
+ // Only method inherited from BiPredicate
}
diff --git a/server/src/main/java/com/vaadin/server/SerializablePredicate.java b/server/src/main/java/com/vaadin/server/SerializablePredicate.java
index ae7dcdef5e..cd4c94fca1 100644
--- a/server/src/main/java/com/vaadin/server/SerializablePredicate.java
+++ b/server/src/main/java/com/vaadin/server/SerializablePredicate.java
@@ -28,5 +28,5 @@ import java.util.function.Predicate;
*
*/
public interface SerializablePredicate<T> extends Predicate<T>, Serializable {
- // Only method inherited from Function
+ // Only method inherited from Predicate
}
diff --git a/server/src/main/java/com/vaadin/server/SerializableToIntFunction.java b/server/src/main/java/com/vaadin/server/SerializableToIntFunction.java
index e94c350f4e..dca2b50d4c 100644
--- a/server/src/main/java/com/vaadin/server/SerializableToIntFunction.java
+++ b/server/src/main/java/com/vaadin/server/SerializableToIntFunction.java
@@ -20,16 +20,16 @@ import java.util.function.ToIntFunction;
/**
* A {@link ToIntFunction} that is also {@link Serializable}.
- *
+ *
* @see ToIntFunction
* @author Vaadin Ltd
* @since 8.0
- *
+ *
* @param <T>
* the type of the input for this function
*/
@FunctionalInterface
public interface SerializableToIntFunction<T>
extends ToIntFunction<T>, Serializable {
-
+ // Only method inherited from ToIntFunction
}