diff --git a/patterns-modules/design-patterns-creational-2/README.md b/patterns-modules/design-patterns-singleton/README.md similarity index 100% rename from patterns-modules/design-patterns-creational-2/README.md rename to patterns-modules/design-patterns-singleton/README.md diff --git a/patterns-modules/design-patterns-creational-2/pom.xml b/patterns-modules/design-patterns-singleton/pom.xml similarity index 83% rename from patterns-modules/design-patterns-creational-2/pom.xml rename to patterns-modules/design-patterns-singleton/pom.xml index 2e67b346f2..362f7f83c1 100644 --- a/patterns-modules/design-patterns-creational-2/pom.xml +++ b/patterns-modules/design-patterns-singleton/pom.xml @@ -3,9 +3,9 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - design-patterns-creational-2 + design-patterns-singleton 1.0 - design-patterns-creational-2 + design-patterns-singleton jar diff --git a/patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/serializable_singleton/EnumSingleton.java b/patterns-modules/design-patterns-singleton/src/main/java/com/baeldung/serializable_singleton/EnumSingleton.java similarity index 100% rename from patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/serializable_singleton/EnumSingleton.java rename to patterns-modules/design-patterns-singleton/src/main/java/com/baeldung/serializable_singleton/EnumSingleton.java diff --git a/patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/serializable_singleton/Singleton.java b/patterns-modules/design-patterns-singleton/src/main/java/com/baeldung/serializable_singleton/Singleton.java similarity index 100% rename from patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/serializable_singleton/Singleton.java rename to patterns-modules/design-patterns-singleton/src/main/java/com/baeldung/serializable_singleton/Singleton.java diff --git a/patterns-modules/design-patterns-creational-2/src/test/java/com/baeldung/serializable_singleton/EnumSingletonUnitTest.java b/patterns-modules/design-patterns-singleton/src/test/java/com/baeldung/serializable_singleton/EnumSingletonUnitTest.java similarity index 100% rename from patterns-modules/design-patterns-creational-2/src/test/java/com/baeldung/serializable_singleton/EnumSingletonUnitTest.java rename to patterns-modules/design-patterns-singleton/src/test/java/com/baeldung/serializable_singleton/EnumSingletonUnitTest.java diff --git a/patterns-modules/design-patterns-creational-2/src/test/java/com/baeldung/serializable_singleton/SingletonUnitTest.java b/patterns-modules/design-patterns-singleton/src/test/java/com/baeldung/serializable_singleton/SingletonUnitTest.java similarity index 100% rename from patterns-modules/design-patterns-creational-2/src/test/java/com/baeldung/serializable_singleton/SingletonUnitTest.java rename to patterns-modules/design-patterns-singleton/src/test/java/com/baeldung/serializable_singleton/SingletonUnitTest.java