From 8caae17dd438ebb129ab9b83757a956efd0e9352 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 (98%) rename src/lab8_builder/{ => ex1}/CarBuilder.java (93%) rename src/lab8_builder/{ => ex1}/CarFactory.java (94%) rename src/lab8_builder/{ => ex1}/Main.java (78%) rename src/lab8_builder/{ => ex1}/builders/BerlinBuilder.java (89%) rename src/lab8_builder/{ => ex1}/builders/SportBuilder.java (88%) diff --git a/src/lab8_builder/Car.java b/src/lab8_builder/ex1/Car.java similarity index 98% rename from src/lab8_builder/Car.java rename to src/lab8_builder/ex1/Car.java index 4e20a7f..6873cde 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; public class Car { private String power; diff --git a/src/lab8_builder/CarBuilder.java b/src/lab8_builder/ex1/CarBuilder.java similarity index 93% rename from src/lab8_builder/CarBuilder.java rename to src/lab8_builder/ex1/CarBuilder.java index 6357e1e..fa299f9 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; public abstract class CarBuilder { protected Car car; diff --git a/src/lab8_builder/CarFactory.java b/src/lab8_builder/ex1/CarFactory.java similarity index 94% rename from src/lab8_builder/CarFactory.java rename to src/lab8_builder/ex1/CarFactory.java index 332c302..d34df6a 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; public class CarFactory { private CarBuilder builder; diff --git a/src/lab8_builder/Main.java b/src/lab8_builder/ex1/Main.java similarity index 78% rename from src/lab8_builder/Main.java rename to src/lab8_builder/ex1/Main.java index d9cc941..abbff39 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; -import lab8_builder.builders.BerlinBuilder; -import lab8_builder.builders.SportBuilder; +import lab8_builder.ex1.builders.BerlinBuilder; +import lab8_builder.ex1.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 89% rename from src/lab8_builder/builders/BerlinBuilder.java rename to src/lab8_builder/ex1/builders/BerlinBuilder.java index 4087250..02fe1f7 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.builders; -import lab8_builder.CarBuilder; +import lab8_builder.ex1.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 88% rename from src/lab8_builder/builders/SportBuilder.java rename to src/lab8_builder/ex1/builders/SportBuilder.java index 3887189..6bdc4df 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.builders; -import lab8_builder.CarBuilder; +import lab8_builder.ex1.CarBuilder; public class SportBuilder extends CarBuilder { @Override