--- jsr166/src/extra166y/CommonOps.java 2010/10/22 05:18:30 1.3 +++ jsr166/src/extra166y/CommonOps.java 2011/12/05 04:08:47 1.5 @@ -1,7 +1,7 @@ /* * Written by Doug Lea with assistance from members of JCP JSR-166 * Expert Group and released to the public domain, as explained at - * http://creativecommons.org/licenses/publicdomain + * http://creativecommons.org/publicdomain/zero/1.0/ */ package extra166y; @@ -521,7 +521,7 @@ public class CommonOps { */ public static DoubleOp compoundOp (final DoubleToObject first, - final ObjectToDouble second) { + final ObjectToDouble second) { return new DoubleOp() { public final double op(double t) { return second.op(first.op(t)); } }; @@ -533,7 +533,7 @@ public class CommonOps { */ public static LongToDouble compoundOp (final LongToObject first, - final ObjectToDouble second) { + final ObjectToDouble second) { return new LongToDouble() { public final double op(long t) { return second.op(first.op(t)); } }; @@ -545,7 +545,7 @@ public class CommonOps { */ public static DoubleToLong compoundOp (final DoubleToObject first, - final ObjectToLong second) { + final ObjectToLong second) { return new DoubleToLong() { public final long op(double t) { return second.op(first.op(t)); } }; @@ -557,7 +557,7 @@ public class CommonOps { */ public static LongOp compoundOp (final LongToObject first, - final ObjectToLong second) { + final ObjectToLong second) { return new LongOp() { public final long op(long t) { return second.op(first.op(t)); } }; @@ -711,7 +711,7 @@ public class CommonOps { /** * Returns a predicate evaluating to true if its argument is non-null */ - public static Predicate isNonNullPredicate() { + public static Predicate isNonNullPredicate() { return IsNonNullPredicate.predicate; } static final class IsNonNullPredicate implements Predicate { @@ -725,7 +725,7 @@ public class CommonOps { /** * Returns a predicate evaluating to true if its argument is null */ - public static Predicate isNullPredicate() { + public static Predicate isNullPredicate() { return IsNullPredicate.predicate; } static final class IsNullPredicate implements Predicate {