diff --git a/java-strings-3/pom.xml b/java-strings-3/pom.xml
deleted file mode 100644
index 4589780c15..0000000000
--- a/java-strings-3/pom.xml
+++ /dev/null
@@ -1,161 +0,0 @@
-
- 4.0.0
- java-strings-3
- 0.1.0-SNAPSHOT
- jar
- java-strings-3
-
-
- com.baeldung
- parent-java
- 0.0.1-SNAPSHOT
- ../parent-java
-
-
-
-
- org.openjdk.jmh
- jmh-core
- ${jmh-core.version}
-
-
- org.openjdk.jmh
- jmh-generator-annprocess
- ${jmh-core.version}
-
-
- com.ibm.icu
- icu4j
- ${icu4j.version}
-
-
- com.google.guava
- guava
- ${guava.version}
-
-
- org.apache.commons
- commons-lang3
- ${commons-lang3.version}
-
-
- commons-io
- commons-io
- ${commons-io.version}
-
-
- commons-codec
- commons-codec
- ${commons-codec.version}
-
-
- junit
- junit
- ${junit.version}
- test
-
-
- org.hamcrest
- hamcrest-library
- ${org.hamcrest.version}
- test
-
-
- org.assertj
- assertj-core
- ${assertj.version}
- test
-
-
- org.bitbucket.cowwoc
- diff-match-patch
- 1.2
- test
-
-
-
-
- org.passay
- passay
- ${passay.version}
-
-
- org.apache.commons
- commons-text
- ${commons-text.version}
-
-
- com.vdurmont
- emoji-java
- ${emoji-java.version}
-
-
- org.ahocorasick
- ahocorasick
- ${ahocorasick.version}
-
-
- javax.validation
- validation-api
- ${validation-api.version}
-
-
- org.hibernate.validator
- hibernate-validator
- ${hibernate-validator.version}
-
-
- javax.el
- javax.el-api
- ${javax.el-api.version}
-
-
- org.glassfish.web
- javax.el
- ${javax.el.version}
-
-
-
-
- java-strings-3
-
-
- src/main/resources
- true
-
-
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
- ${maven-compiler-plugin.version}
-
- ${java.version}
- ${java.version}
- -parameters
-
-
-
-
-
-
- 3.8.1
- 1.10
- 1.3.1
-
- 3.6.1
- 4.0.0
- 0.4.0
- 61.1
- 28.0-jre
- 1.4
- 2.0.0.Final
- 6.0.2.Final
- 3.0.0
- 2.2.6
-
-
-
\ No newline at end of file
diff --git a/java-strings-3/src/test/java/com/baeldung/stringdiff/StringDiffBenchmarkUnitTest.java b/java-strings-3/src/test/java/com/baeldung/stringdiff/StringDiffBenchmarkUnitTest.java
deleted file mode 100644
index 20e87a1f4e..0000000000
--- a/java-strings-3/src/test/java/com/baeldung/stringdiff/StringDiffBenchmarkUnitTest.java
+++ /dev/null
@@ -1,73 +0,0 @@
-package com.baeldung.stringdiff;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.concurrent.TimeUnit;
-
-import org.apache.commons.lang3.RandomStringUtils;
-import org.apache.commons.lang3.StringUtils;
-import org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch;
-import org.openjdk.jmh.annotations.Benchmark;
-import org.openjdk.jmh.annotations.BenchmarkMode;
-import org.openjdk.jmh.annotations.Mode;
-import org.openjdk.jmh.annotations.OutputTimeUnit;
-import org.openjdk.jmh.annotations.Scope;
-import org.openjdk.jmh.annotations.State;
-import org.openjdk.jmh.runner.Runner;
-import org.openjdk.jmh.runner.RunnerException;
-import org.openjdk.jmh.runner.options.Options;
-import org.openjdk.jmh.runner.options.OptionsBuilder;
-
-@BenchmarkMode(Mode.AverageTime)
-@OutputTimeUnit(TimeUnit.MILLISECONDS)
-@State(Scope.Benchmark)
-public class StringDiffBenchmarkUnitTest {
-
- private DiffMatchPatch diffMatchPatch = new DiffMatchPatch();
-
- private List inputs = randomizeInputs(10000);
-
- public static void main(String[] args) throws RunnerException {
- Options opts = new OptionsBuilder().include(".*")
- .warmupIterations(1)
- .measurementIterations(50)
- .jvmArgs("-Xms2g", "-Xmx2g")
- .shouldDoGC(true)
- .forks(1)
- .build();
-
- new Runner(opts).run();
- }
-
- @Benchmark
- public int diffMatchPatch() {
- for (int i = 0; i < inputs.size() - 1; i++) {
- diffMatchPatch.diffMain(inputs.get(i), inputs.get(i + 1), false);
- }
- return inputs.size();
- }
-
- @Benchmark
- public int stringUtils() {
- for (int i = 0; i < inputs.size() - 1; i++) {
- StringUtils.difference(inputs.get(i), inputs.get(i + 1));
- }
- return inputs.size();
- }
-
- /**
- * Creates a list of a given size, containing 30 character long strings,
- * each starting with a static prefix of 10 characters and followed by
- * a random 20 character suffix
- *
- * @return a {@link List} of randomised strings
- */
- private List randomizeInputs(int size) {
- String staticPart = "ABCDEF1234";
- List inputs = new ArrayList<>();
- for (int i = 0; i < size; i++) {
- inputs.add(staticPart + RandomStringUtils.randomAlphabetic(20));
- }
- return inputs;
- }
-}
diff --git a/java-strings-3/src/test/java/com/baeldung/stringdiff/StringDiffUnitTest.java b/java-strings-3/src/test/java/com/baeldung/stringdiff/StringDiffUnitTest.java
deleted file mode 100644
index 94b7deb64d..0000000000
--- a/java-strings-3/src/test/java/com/baeldung/stringdiff/StringDiffUnitTest.java
+++ /dev/null
@@ -1,39 +0,0 @@
-package com.baeldung.stringdiff;
-
-import static org.hamcrest.Matchers.containsInAnyOrder;
-import static org.hamcrest.Matchers.is;
-import static org.junit.Assert.assertThat;
-
-import org.apache.commons.lang3.StringUtils;
-import org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch;
-import org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch.Operation;
-import org.junit.Test;
-
-public class StringDiffUnitTest {
-
- private DiffMatchPatch diffMatchPatch = new DiffMatchPatch();
-
- // Test samples
- private final String text1 = "ABCDELMN";
- private final String text2 = "ABCFGLMN";
-
- @Test
- public void givenTwoStrings_whenDiffMatchPatch_thenReturnCorrectDiff() {
- assertThat(diffMatchPatch.diffMain(text1, text2, false), containsInAnyOrder(
- new DiffMatchPatch.Diff(Operation.EQUAL, "ABC"),
- new DiffMatchPatch.Diff(Operation.DELETE, "DE"),
- new DiffMatchPatch.Diff(Operation.INSERT, "FG"),
- new DiffMatchPatch.Diff(Operation.EQUAL, "LMN")));
- assertThat(diffMatchPatch.diffMain(text2, text1, false), containsInAnyOrder(
- new DiffMatchPatch.Diff(Operation.EQUAL, "ABC"),
- new DiffMatchPatch.Diff(Operation.INSERT, "DE"),
- new DiffMatchPatch.Diff(Operation.DELETE, "FG"),
- new DiffMatchPatch.Diff(Operation.EQUAL, "LMN")));
- }
-
- @Test
- public void givenTwoStrings_whenStringUtilsDifference_thenReturnCorrectDiff() {
- assertThat(StringUtils.difference(text1, text2), is("FGLMN"));
- assertThat(StringUtils.difference(text2, text1), is("DELMN"));
- }
-}