From 66a0222253c94b8addf319a467218d28cb9fb476 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Tue, 13 Mar 2018 18:00:59 +0000 Subject: [PATCH] Suppress PMD.ShortMethodName for or() methods --- src/main/java/net/kemitix/conditional/Condition.java | 1 + src/main/java/net/kemitix/conditional/Value.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/net/kemitix/conditional/Condition.java b/src/main/java/net/kemitix/conditional/Condition.java index 3f385eb..33c0a31 100644 --- a/src/main/java/net/kemitix/conditional/Condition.java +++ b/src/main/java/net/kemitix/conditional/Condition.java @@ -79,6 +79,7 @@ public interface Condition { * * @return the Condition */ + @SuppressWarnings("PMD.ShortMethodName") Condition or(Supplier clause); /** diff --git a/src/main/java/net/kemitix/conditional/Value.java b/src/main/java/net/kemitix/conditional/Value.java index 55a0e68..fe2b182 100644 --- a/src/main/java/net/kemitix/conditional/Value.java +++ b/src/main/java/net/kemitix/conditional/Value.java @@ -122,6 +122,7 @@ public interface Value { * * @return a true or false value clause */ + @SuppressWarnings("PMD.ShortMethodName") ValueClause or(Supplier clause); /**