From d926bb07c98a03d1d5607d06afb73c194ba427d9 Mon Sep 17 00:00:00 2001 From: LordBaryhobal Date: Mon, 4 Nov 2024 16:52:44 +0100 Subject: [PATCH] moved to ex1 sub-directory --- src/lab8_builder/{ => ex1}/Car.java | 2 +- src/lab8_builder/{ => ex1}/CarBuilder.java | 2 +- src/lab8_builder/{ => ex1}/CarFactory.java | 2 +- src/lab8_builder/{ => ex1}/Main.java | 6 +++--- src/lab8_builder/{ => ex1}/builders/BerlinBuilder.java | 4 ++-- src/lab8_builder/{ => ex1}/builders/SportBuilder.java | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) rename src/lab8_builder/{ => ex1}/Car.java (97%) rename src/lab8_builder/{ => ex1}/CarBuilder.java (90%) rename src/lab8_builder/{ => ex1}/CarFactory.java (91%) rename src/lab8_builder/{ => ex1}/Main.java (73%) rename src/lab8_builder/{ => ex1}/builders/BerlinBuilder.java (85%) rename src/lab8_builder/{ => ex1}/builders/SportBuilder.java (85%) diff --git a/src/lab8_builder/Car.java b/src/lab8_builder/ex1/Car.java similarity index 97% rename from src/lab8_builder/Car.java rename to src/lab8_builder/ex1/Car.java index 4e20a7f..16c789d 100644 --- a/src/lab8_builder/Car.java +++ b/src/lab8_builder/ex1/Car.java @@ -1,4 +1,4 @@ -package lab8_builder; +package lab8_builder.ex1.lab8_builder; public class Car { private String power; diff --git a/src/lab8_builder/CarBuilder.java b/src/lab8_builder/ex1/CarBuilder.java similarity index 90% rename from src/lab8_builder/CarBuilder.java rename to src/lab8_builder/ex1/CarBuilder.java index 6357e1e..046f9ed 100644 --- a/src/lab8_builder/CarBuilder.java +++ b/src/lab8_builder/ex1/CarBuilder.java @@ -1,4 +1,4 @@ -package lab8_builder; +package lab8_builder.ex1.lab8_builder; public abstract class CarBuilder { protected Car car; diff --git a/src/lab8_builder/CarFactory.java b/src/lab8_builder/ex1/CarFactory.java similarity index 91% rename from src/lab8_builder/CarFactory.java rename to src/lab8_builder/ex1/CarFactory.java index 332c302..9eac6a6 100644 --- a/src/lab8_builder/CarFactory.java +++ b/src/lab8_builder/ex1/CarFactory.java @@ -1,4 +1,4 @@ -package lab8_builder; +package lab8_builder.ex1.lab8_builder; public class CarFactory { private CarBuilder builder; diff --git a/src/lab8_builder/Main.java b/src/lab8_builder/ex1/Main.java similarity index 73% rename from src/lab8_builder/Main.java rename to src/lab8_builder/ex1/Main.java index d9cc941..25fc4e9 100644 --- a/src/lab8_builder/Main.java +++ b/src/lab8_builder/ex1/Main.java @@ -1,7 +1,7 @@ -package lab8_builder; +package lab8_builder.ex1.lab8_builder; -import lab8_builder.builders.BerlinBuilder; -import lab8_builder.builders.SportBuilder; +import lab8_builder.ex1.lab8_builder.builders.BerlinBuilder; +import lab8_builder.ex1.lab8_builder.builders.SportBuilder; public class Main { public static void main(String[] args) { diff --git a/src/lab8_builder/builders/BerlinBuilder.java b/src/lab8_builder/ex1/builders/BerlinBuilder.java similarity index 85% rename from src/lab8_builder/builders/BerlinBuilder.java rename to src/lab8_builder/ex1/builders/BerlinBuilder.java index 4087250..bacaedc 100644 --- a/src/lab8_builder/builders/BerlinBuilder.java +++ b/src/lab8_builder/ex1/builders/BerlinBuilder.java @@ -1,6 +1,6 @@ -package lab8_builder.builders; +package lab8_builder.ex1.lab8_builder.builders; -import lab8_builder.CarBuilder; +import lab8_builder.ex1.lab8_builder.CarBuilder; public class BerlinBuilder extends CarBuilder { @Override diff --git a/src/lab8_builder/builders/SportBuilder.java b/src/lab8_builder/ex1/builders/SportBuilder.java similarity index 85% rename from src/lab8_builder/builders/SportBuilder.java rename to src/lab8_builder/ex1/builders/SportBuilder.java index 3887189..21fd6b3 100644 --- a/src/lab8_builder/builders/SportBuilder.java +++ b/src/lab8_builder/ex1/builders/SportBuilder.java @@ -1,6 +1,6 @@ -package lab8_builder.builders; +package lab8_builder.ex1.lab8_builder.builders; -import lab8_builder.CarBuilder; +import lab8_builder.ex1.lab8_builder.CarBuilder; public class SportBuilder extends CarBuilder { @Override