From a14ee65d1484d6780ca46f8e0dfec679d09446ad Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Tue, 31 Dec 2019 22:06:18 -0500 Subject: [PATCH] [LANG-1507] Add ComparableUtils #398. Repackage. Another class is coming here soon. --- .../apache/commons/lang3/{ => compare}/ComparableUtils.java | 2 +- .../commons/lang3/{ => compare}/ComparableUtilsTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/main/java/org/apache/commons/lang3/{ => compare}/ComparableUtils.java (99%) rename src/test/java/org/apache/commons/lang3/{ => compare}/ComparableUtilsTest.java (98%) diff --git a/src/main/java/org/apache/commons/lang3/ComparableUtils.java b/src/main/java/org/apache/commons/lang3/compare/ComparableUtils.java similarity index 99% rename from src/main/java/org/apache/commons/lang3/ComparableUtils.java rename to src/main/java/org/apache/commons/lang3/compare/ComparableUtils.java index 6a84a6218..b7227cb29 100644 --- a/src/main/java/org/apache/commons/lang3/ComparableUtils.java +++ b/src/main/java/org/apache/commons/lang3/compare/ComparableUtils.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.lang3; +package org.apache.commons.lang3.compare; import java.util.function.Predicate; diff --git a/src/test/java/org/apache/commons/lang3/ComparableUtilsTest.java b/src/test/java/org/apache/commons/lang3/compare/ComparableUtilsTest.java similarity index 98% rename from src/test/java/org/apache/commons/lang3/ComparableUtilsTest.java rename to src/test/java/org/apache/commons/lang3/compare/ComparableUtilsTest.java index 50ec33c39..418b7bbce 100644 --- a/src/test/java/org/apache/commons/lang3/ComparableUtilsTest.java +++ b/src/test/java/org/apache/commons/lang3/compare/ComparableUtilsTest.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.lang3; +package org.apache.commons.lang3.compare; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.DisplayNameGeneration; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.Test; import java.math.BigDecimal; -import static org.apache.commons.lang3.ComparableUtils.is; +import static org.apache.commons.lang3.compare.ComparableUtils.is; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue;