From 484f3afd9dadd5f99484658720adea894fb153a5 Mon Sep 17 00:00:00 2001 From: Hammy Date: Tue, 22 Dec 2020 17:06:56 +0000 Subject: [PATCH] Move directories --- Design Patterns/src/factory/{ => pizza}/Main.java | 6 +++--- Design Patterns/src/factory/{ => pizza}/Pizza.java | 2 +- Design Patterns/src/factory/{ => pizza}/PizzaStore.java | 2 +- .../src/factory/{ => pizza}/chicago/ChicagoPizzaStore.java | 6 +++--- .../{ => pizza}/chicago/ChicagoStyleCheesePizza.java | 4 ++-- .../factory/{ => pizza}/chicago/ChicagoStyleClamPizza.java | 4 ++-- .../{ => pizza}/chicago/ChicagoStylePepperoniPizza.java | 4 ++-- .../{ => pizza}/chicago/ChicagoStyleVeggiePizza.java | 4 ++-- .../src/factory/{ => pizza}/ny/NYPizzaStore.java | 6 +++--- .../src/factory/{ => pizza}/ny/NYStyleCheesePizza.java | 4 ++-- .../src/factory/{ => pizza}/ny/NYStyleClamPizza.java | 4 ++-- .../src/factory/{ => pizza}/ny/NYStylePepperoniPizza.java | 4 ++-- .../src/factory/{ => pizza}/ny/NYStyleVeggiePizza.java | 4 ++-- 13 files changed, 27 insertions(+), 27 deletions(-) rename Design Patterns/src/factory/{ => pizza}/Main.java (90%) rename Design Patterns/src/factory/{ => pizza}/Pizza.java (98%) rename Design Patterns/src/factory/{ => pizza}/PizzaStore.java (93%) rename Design Patterns/src/factory/{ => pizza}/chicago/ChicagoPizzaStore.java (80%) rename Design Patterns/src/factory/{ => pizza}/chicago/ChicagoStyleCheesePizza.java (86%) rename Design Patterns/src/factory/{ => pizza}/chicago/ChicagoStyleClamPizza.java (87%) rename Design Patterns/src/factory/{ => pizza}/chicago/ChicagoStylePepperoniPizza.java (89%) rename Design Patterns/src/factory/{ => pizza}/chicago/ChicagoStyleVeggiePizza.java (88%) rename Design Patterns/src/factory/{ => pizza}/ny/NYPizzaStore.java (79%) rename Design Patterns/src/factory/{ => pizza}/ny/NYStyleCheesePizza.java (81%) rename Design Patterns/src/factory/{ => pizza}/ny/NYStyleClamPizza.java (84%) rename Design Patterns/src/factory/{ => pizza}/ny/NYStylePepperoniPizza.java (88%) rename Design Patterns/src/factory/{ => pizza}/ny/NYStyleVeggiePizza.java (87%) diff --git a/Design Patterns/src/factory/Main.java b/Design Patterns/src/factory/pizza/Main.java similarity index 90% rename from Design Patterns/src/factory/Main.java rename to Design Patterns/src/factory/pizza/Main.java index e770d80..049859f 100644 --- a/Design Patterns/src/factory/Main.java +++ b/Design Patterns/src/factory/pizza/Main.java @@ -1,7 +1,7 @@ -package factory; +package factory.pizza; -import factory.chicago.ChicagoPizzaStore; -import factory.ny.NYPizzaStore; +import factory.pizza.chicago.ChicagoPizzaStore; +import factory.pizza.ny.NYPizzaStore; public class Main { public static void main(String[] args) { diff --git a/Design Patterns/src/factory/Pizza.java b/Design Patterns/src/factory/pizza/Pizza.java similarity index 98% rename from Design Patterns/src/factory/Pizza.java rename to Design Patterns/src/factory/pizza/Pizza.java index ea32cc1..c47522a 100644 --- a/Design Patterns/src/factory/Pizza.java +++ b/Design Patterns/src/factory/pizza/Pizza.java @@ -1,4 +1,4 @@ -package factory; +package factory.pizza; import java.util.ArrayList; import java.util.List; diff --git a/Design Patterns/src/factory/PizzaStore.java b/Design Patterns/src/factory/pizza/PizzaStore.java similarity index 93% rename from Design Patterns/src/factory/PizzaStore.java rename to Design Patterns/src/factory/pizza/PizzaStore.java index f656b80..480f2fa 100644 --- a/Design Patterns/src/factory/PizzaStore.java +++ b/Design Patterns/src/factory/pizza/PizzaStore.java @@ -1,4 +1,4 @@ -package factory; +package factory.pizza; public abstract class PizzaStore { diff --git a/Design Patterns/src/factory/chicago/ChicagoPizzaStore.java b/Design Patterns/src/factory/pizza/chicago/ChicagoPizzaStore.java similarity index 80% rename from Design Patterns/src/factory/chicago/ChicagoPizzaStore.java rename to Design Patterns/src/factory/pizza/chicago/ChicagoPizzaStore.java index dc6016c..2f90a07 100644 --- a/Design Patterns/src/factory/chicago/ChicagoPizzaStore.java +++ b/Design Patterns/src/factory/pizza/chicago/ChicagoPizzaStore.java @@ -1,7 +1,7 @@ -package factory.chicago; +package factory.pizza.chicago; -import factory.Pizza; -import factory.PizzaStore; +import factory.pizza.Pizza; +import factory.pizza.PizzaStore; public class ChicagoPizzaStore extends PizzaStore { diff --git a/Design Patterns/src/factory/chicago/ChicagoStyleCheesePizza.java b/Design Patterns/src/factory/pizza/chicago/ChicagoStyleCheesePizza.java similarity index 86% rename from Design Patterns/src/factory/chicago/ChicagoStyleCheesePizza.java rename to Design Patterns/src/factory/pizza/chicago/ChicagoStyleCheesePizza.java index 84e3a45..cc85506 100644 --- a/Design Patterns/src/factory/chicago/ChicagoStyleCheesePizza.java +++ b/Design Patterns/src/factory/pizza/chicago/ChicagoStyleCheesePizza.java @@ -1,6 +1,6 @@ -package factory.chicago; +package factory.pizza.chicago; -import factory.Pizza; +import factory.pizza.Pizza; public class ChicagoStyleCheesePizza extends Pizza { diff --git a/Design Patterns/src/factory/chicago/ChicagoStyleClamPizza.java b/Design Patterns/src/factory/pizza/chicago/ChicagoStyleClamPizza.java similarity index 87% rename from Design Patterns/src/factory/chicago/ChicagoStyleClamPizza.java rename to Design Patterns/src/factory/pizza/chicago/ChicagoStyleClamPizza.java index c3c20c4..cf32340 100644 --- a/Design Patterns/src/factory/chicago/ChicagoStyleClamPizza.java +++ b/Design Patterns/src/factory/pizza/chicago/ChicagoStyleClamPizza.java @@ -1,6 +1,6 @@ -package factory.chicago; +package factory.pizza.chicago; -import factory.Pizza; +import factory.pizza.Pizza; public class ChicagoStyleClamPizza extends Pizza { diff --git a/Design Patterns/src/factory/chicago/ChicagoStylePepperoniPizza.java b/Design Patterns/src/factory/pizza/chicago/ChicagoStylePepperoniPizza.java similarity index 89% rename from Design Patterns/src/factory/chicago/ChicagoStylePepperoniPizza.java rename to Design Patterns/src/factory/pizza/chicago/ChicagoStylePepperoniPizza.java index 13b322e..d40717f 100644 --- a/Design Patterns/src/factory/chicago/ChicagoStylePepperoniPizza.java +++ b/Design Patterns/src/factory/pizza/chicago/ChicagoStylePepperoniPizza.java @@ -1,6 +1,6 @@ -package factory.chicago; +package factory.pizza.chicago; -import factory.Pizza; +import factory.pizza.Pizza; public class ChicagoStylePepperoniPizza extends Pizza { diff --git a/Design Patterns/src/factory/chicago/ChicagoStyleVeggiePizza.java b/Design Patterns/src/factory/pizza/chicago/ChicagoStyleVeggiePizza.java similarity index 88% rename from Design Patterns/src/factory/chicago/ChicagoStyleVeggiePizza.java rename to Design Patterns/src/factory/pizza/chicago/ChicagoStyleVeggiePizza.java index b20e72f..25f4f66 100644 --- a/Design Patterns/src/factory/chicago/ChicagoStyleVeggiePizza.java +++ b/Design Patterns/src/factory/pizza/chicago/ChicagoStyleVeggiePizza.java @@ -1,6 +1,6 @@ -package factory.chicago; +package factory.pizza.chicago; -import factory.Pizza; +import factory.pizza.Pizza; public class ChicagoStyleVeggiePizza extends Pizza { diff --git a/Design Patterns/src/factory/ny/NYPizzaStore.java b/Design Patterns/src/factory/pizza/ny/NYPizzaStore.java similarity index 79% rename from Design Patterns/src/factory/ny/NYPizzaStore.java rename to Design Patterns/src/factory/pizza/ny/NYPizzaStore.java index 6f869e8..add10a1 100644 --- a/Design Patterns/src/factory/ny/NYPizzaStore.java +++ b/Design Patterns/src/factory/pizza/ny/NYPizzaStore.java @@ -1,7 +1,7 @@ -package factory.ny; +package factory.pizza.ny; -import factory.Pizza; -import factory.PizzaStore; +import factory.pizza.Pizza; +import factory.pizza.PizzaStore; public class NYPizzaStore extends PizzaStore { diff --git a/Design Patterns/src/factory/ny/NYStyleCheesePizza.java b/Design Patterns/src/factory/pizza/ny/NYStyleCheesePizza.java similarity index 81% rename from Design Patterns/src/factory/ny/NYStyleCheesePizza.java rename to Design Patterns/src/factory/pizza/ny/NYStyleCheesePizza.java index 1769402..6e5d241 100644 --- a/Design Patterns/src/factory/ny/NYStyleCheesePizza.java +++ b/Design Patterns/src/factory/pizza/ny/NYStyleCheesePizza.java @@ -1,6 +1,6 @@ -package factory.ny; +package factory.pizza.ny; -import factory.Pizza; +import factory.pizza.Pizza; public class NYStyleCheesePizza extends Pizza { diff --git a/Design Patterns/src/factory/ny/NYStyleClamPizza.java b/Design Patterns/src/factory/pizza/ny/NYStyleClamPizza.java similarity index 84% rename from Design Patterns/src/factory/ny/NYStyleClamPizza.java rename to Design Patterns/src/factory/pizza/ny/NYStyleClamPizza.java index 633b585..f025127 100644 --- a/Design Patterns/src/factory/ny/NYStyleClamPizza.java +++ b/Design Patterns/src/factory/pizza/ny/NYStyleClamPizza.java @@ -1,6 +1,6 @@ -package factory.ny; +package factory.pizza.ny; -import factory.Pizza; +import factory.pizza.Pizza; public class NYStyleClamPizza extends Pizza { diff --git a/Design Patterns/src/factory/ny/NYStylePepperoniPizza.java b/Design Patterns/src/factory/pizza/ny/NYStylePepperoniPizza.java similarity index 88% rename from Design Patterns/src/factory/ny/NYStylePepperoniPizza.java rename to Design Patterns/src/factory/pizza/ny/NYStylePepperoniPizza.java index 2a6c7a5..bedfbe6 100644 --- a/Design Patterns/src/factory/ny/NYStylePepperoniPizza.java +++ b/Design Patterns/src/factory/pizza/ny/NYStylePepperoniPizza.java @@ -1,6 +1,6 @@ -package factory.ny; +package factory.pizza.ny; -import factory.Pizza; +import factory.pizza.Pizza; public class NYStylePepperoniPizza extends Pizza { diff --git a/Design Patterns/src/factory/ny/NYStyleVeggiePizza.java b/Design Patterns/src/factory/pizza/ny/NYStyleVeggiePizza.java similarity index 87% rename from Design Patterns/src/factory/ny/NYStyleVeggiePizza.java rename to Design Patterns/src/factory/pizza/ny/NYStyleVeggiePizza.java index 602bddc..1361e09 100644 --- a/Design Patterns/src/factory/ny/NYStyleVeggiePizza.java +++ b/Design Patterns/src/factory/pizza/ny/NYStyleVeggiePizza.java @@ -1,6 +1,6 @@ -package factory.ny; +package factory.pizza.ny; -import factory.Pizza; +import factory.pizza.Pizza; public class NYStyleVeggiePizza extends Pizza {