From 888123b7225ba4c3768178763dcc12583210ab67 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 28 Jul 2018 19:53:31 +0100 Subject: [PATCH] Value: cleanup deprecated whereNot() --- README.org | 1 + src/main/java/net/kemitix/conditional/Value.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index 3cc00e8..a7884cb 100644 --- a/README.org +++ b/README.org @@ -1,5 +1,6 @@ * Conditional + ** Functional Condition and Value. [[https://oss.sonatype.org/content/repositories/releases/net/kemitix/conditional][file:https://img.shields.io/nexus/r/https/oss.sonatype.org/net.kemitix/conditional.svg?style=for-the-badge]] diff --git a/src/main/java/net/kemitix/conditional/Value.java b/src/main/java/net/kemitix/conditional/Value.java index 81c8d01..ca4ddc2 100644 --- a/src/main/java/net/kemitix/conditional/Value.java +++ b/src/main/java/net/kemitix/conditional/Value.java @@ -134,7 +134,7 @@ public interface Value { */ @Deprecated static ValueClause whereNot(final boolean clause) { - return where(!clause); + return Value.where(clause).not(); } /**