diff --git a/core-java-modules/core-java-networking-3/README.md b/core-java-modules/core-java-networking-3/README.md index 80782645dd..14665080a7 100644 --- a/core-java-modules/core-java-networking-3/README.md +++ b/core-java-modules/core-java-networking-3/README.md @@ -14,5 +14,4 @@ This module contains articles about networking in Java - [Get Domain Name From Given URL in Java](https://www.baeldung.com/java-domain-name-from-url) - [Java HttpClient Timeout](https://www.baeldung.com/java-httpclient-timeout) - [Port Scanning With Java](https://www.baeldung.com/java-port-scanning) -- [Validating URL in Java](https://www.baeldung.com/java-validate-url) - [[<-- Prev]](/core-java-modules/core-java-networking-2) diff --git a/core-java-modules/core-java-networking-4/README.md b/core-java-modules/core-java-networking-4/README.md index 355f0c447e..5f0958fae0 100644 --- a/core-java-modules/core-java-networking-4/README.md +++ b/core-java-modules/core-java-networking-4/README.md @@ -1,2 +1,3 @@ ## Relevant Articles: - [Difference Between URI.create() and new URI()](https://www.baeldung.com/java-uri-create-and-new-uri) +- [Validating URL in Java](https://www.baeldung.com/java-validate-url) \ No newline at end of file diff --git a/core-java-modules/core-java-networking-4/pom.xml b/core-java-modules/core-java-networking-4/pom.xml index 6c8b3103f9..29531a5767 100644 --- a/core-java-modules/core-java-networking-4/pom.xml +++ b/core-java-modules/core-java-networking-4/pom.xml @@ -13,8 +13,21 @@ 0.0.1-SNAPSHOT + + + + commons-validator + commons-validator + ${apache.commons-validator.version} + + + core-java-networking-4 + + 1.7 + + \ No newline at end of file diff --git a/core-java-modules/core-java-networking-3/src/main/java/com/baeldung/urlvalidation/UrlValidation.java b/core-java-modules/core-java-networking-4/src/main/java/com/baeldung/urlvalidation/UrlValidation.java similarity index 100% rename from core-java-modules/core-java-networking-3/src/main/java/com/baeldung/urlvalidation/UrlValidation.java rename to core-java-modules/core-java-networking-4/src/main/java/com/baeldung/urlvalidation/UrlValidation.java diff --git a/core-java-modules/core-java-networking-4/src/main/resources/logback.xml b/core-java-modules/core-java-networking-4/src/main/resources/logback.xml new file mode 100644 index 0000000000..7d900d8ea8 --- /dev/null +++ b/core-java-modules/core-java-networking-4/src/main/resources/logback.xml @@ -0,0 +1,13 @@ + + + + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + + + + \ No newline at end of file diff --git a/core-java-modules/core-java-networking-3/src/test/java/com/baeldung/urlvalidation/UrlValidateUnitTest.java b/core-java-modules/core-java-networking-4/src/test/java/com/baeldung/urlvalidation/UrlValidateUnitTest.java similarity index 100% rename from core-java-modules/core-java-networking-3/src/test/java/com/baeldung/urlvalidation/UrlValidateUnitTest.java rename to core-java-modules/core-java-networking-4/src/test/java/com/baeldung/urlvalidation/UrlValidateUnitTest.java