diff --git a/build.gradle b/build.gradle index f9ed466..e6e5b70 100644 --- a/build.gradle +++ b/build.gradle @@ -15,7 +15,12 @@ targetCompatibility = '1.8' group = 'org.fxmisc.easybind' dependencies { - testCompile group: 'junit', name: 'junit', version: '4.+' + testCompile group: 'junit', name: 'junit', version: '[4.0,)' +} + +javadoc { + // ignore missing Javadoc comments or tags + options.addStringOption('Xdoclint:all,-missing', '-quiet') } task javadocJar(type: Jar, dependsOn: javadoc) { diff --git a/src/main/java/org/fxmisc/easybind/PreboundBinding.java b/src/main/java/org/fxmisc/easybind/PreboundBinding.java index 76a38b9..2696db0 100644 --- a/src/main/java/org/fxmisc/easybind/PreboundBinding.java +++ b/src/main/java/org/fxmisc/easybind/PreboundBinding.java @@ -8,7 +8,6 @@ /** * Object binding that binds to its dependencies on creation * and unbinds from them on dispose. - * @param */ public abstract class PreboundBinding extends ObjectBinding implements MonadicBinding { private final Observable[] dependencies; diff --git a/src/main/java/org/fxmisc/easybind/Subscription.java b/src/main/java/org/fxmisc/easybind/Subscription.java index 62ae06c..5494b58 100644 --- a/src/main/java/org/fxmisc/easybind/Subscription.java +++ b/src/main/java/org/fxmisc/easybind/Subscription.java @@ -8,7 +8,6 @@ public interface Subscription { * Returns a new aggregate subscription whose {@link #unsubscribe()} * method calls {@code unsubscribe()} on both this subscription and * {@code other} subscription. - * @param other */ default Subscription and(Subscription other) { return new BiSubscription(this, other); @@ -19,7 +18,6 @@ default Subscription and(Subscription other) { /** * Returns a new aggregate subscription whose {@link #unsubscribe()} * method calls {@code unsubscribe()} on all arguments to this method. - * @param subs */ static Subscription multi(Subscription... subs) { switch(subs.length) { diff --git a/src/main/java/org/fxmisc/easybind/monadic/MonadicObservableValue.java b/src/main/java/org/fxmisc/easybind/monadic/MonadicObservableValue.java index c2f3e2a..d7c9bc5 100644 --- a/src/main/java/org/fxmisc/easybind/monadic/MonadicObservableValue.java +++ b/src/main/java/org/fxmisc/easybind/monadic/MonadicObservableValue.java @@ -18,7 +18,6 @@ /** * Adds monadic operations to {@link ObservableValue}. - * @param */ public interface MonadicObservableValue extends ObservableObjectValue { @@ -116,7 +115,6 @@ default MonadicBinding orElse(ObservableValue other) { * as this ObservableValue when the value satisfies the predicate * and is empty when this ObservableValue is empty or its value * does not satisfy the given predicate. - * @param p */ default MonadicBinding filter(Predicate p) { return new PreboundBinding(this) { @@ -147,7 +145,6 @@ protected U computeValue() { * Returns a new ObservableValue that, when this ObservableValue holds * value {@code x}, holds the value held by {@code f(x)}, and is empty * when this ObservableValue is empty. - * @param f */ default MonadicBinding flatMap(Function> f) { return new FlatMapBinding<>(this, f); @@ -178,8 +175,6 @@ default PropertyBinding selectProperty(Function> f /** * Starts a selection chain. A selection chain is just a more efficient * equivalent to a chain of flatMaps. - * @param selector - * @return */ default SelectBuilder select(Function> selector) { return SelectBuilder.startAt(this).select(selector); @@ -207,8 +202,6 @@ default SelectBuilder select(Function> sele * // later * observable.removeListener(); * } - * - * @param listener */ default Subscription subscribe(InvalidationListener listener) { addListener(listener); @@ -219,7 +212,6 @@ default Subscription subscribe(InvalidationListener listener) { * Adds a change listener and returns a Subscription that can be * used to remove that listener. See the example at * {@link #subscribe(InvalidationListener)}. - * @param listener */ default Subscription subscribe(ChangeListener listener) { addListener(listener);