From ca9b13d705d0630afee38f2109f5cca34a616b8a Mon Sep 17 00:00:00 2001 From: amit2103 Date: Sun, 19 Aug 2018 00:02:02 +0530 Subject: [PATCH] [BAEL-8232] - Removed unwanted dependencies and moved CountCharsExampleUnitTest from core-java to java-strings module --- java-strings/pom.xml | 67 ------------------- .../CountCharsExampleUnitTest.java | 9 +-- 2 files changed, 5 insertions(+), 71 deletions(-) rename {core-java => java-strings}/src/test/java/com/baeldung/java/countingChars/CountCharsExampleUnitTest.java (98%) diff --git a/java-strings/pom.xml b/java-strings/pom.xml index c145fd4070..86b8924c4b 100644 --- a/java-strings/pom.xml +++ b/java-strings/pom.xml @@ -15,11 +15,6 @@ - - org.apache.commons - commons-collections4 - ${commons-collections4.version} - commons-io commons-io @@ -40,12 +35,6 @@ commons-codec ${commons-codec.version} - - org.projectlombok - lombok - ${lombok.version} - provided - org.assertj @@ -53,57 +42,11 @@ ${assertj.version} test - - com.jayway.awaitility - awaitility - ${avaitility.version} - test - org.openjdk.jmh jmh-core ${jmh-core.version} - - org.openjdk.jmh - jmh-generator-annprocess - ${jmh-generator.version} - - - org.openjdk.jmh - jmh-generator-bytecode - ${jmh-generator.version} - - - com.codepoetics - protonpack - ${protonpack.version} - - - io.vavr - vavr - ${vavr.version} - - - one.util - streamex - ${streamex.version} - - - joda-time - joda-time - ${joda.version} - - - org.aspectj - aspectjrt - ${asspectj.version} - - - org.aspectj - aspectjweaver - ${asspectj.version} - com.ibm.icu icu4j @@ -154,20 +97,10 @@ 3.5 - 4.1 - 4.01 1.10 - 1.16.12 - 0.9.0 - 1.13 - 0.6.5 - 2.10 3.6.1 - 1.8.9 - 1.7.0 1.19 - 1.19 61.1 diff --git a/core-java/src/test/java/com/baeldung/java/countingChars/CountCharsExampleUnitTest.java b/java-strings/src/test/java/com/baeldung/java/countingChars/CountCharsExampleUnitTest.java similarity index 98% rename from core-java/src/test/java/com/baeldung/java/countingChars/CountCharsExampleUnitTest.java rename to java-strings/src/test/java/com/baeldung/java/countingChars/CountCharsExampleUnitTest.java index aeb33fe875..e2dd0ac1db 100644 --- a/core-java/src/test/java/com/baeldung/java/countingChars/CountCharsExampleUnitTest.java +++ b/java-strings/src/test/java/com/baeldung/java/countingChars/CountCharsExampleUnitTest.java @@ -1,13 +1,14 @@ package com.baeldung.java.countingChars; -import com.google.common.base.CharMatcher; -import org.apache.commons.lang.StringUtils; -import org.junit.Test; +import static org.junit.Assert.assertEquals; import java.util.regex.Matcher; import java.util.regex.Pattern; -import static org.junit.Assert.assertEquals; +import org.apache.commons.lang3.StringUtils; +import org.junit.Test; + +import com.google.common.base.CharMatcher; /***