moved to ex1 sub-directory

This commit is contained in:
Louis Heredero 2024-11-04 16:52:44 +01:00
parent 80b7f9e80d
commit d926bb07c9
Signed by: HEL
GPG Key ID: 8D83DE470F8544E7
6 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
package lab8_builder;
package lab8_builder.ex1.lab8_builder;
public class Car {
private String power;

View File

@ -1,4 +1,4 @@
package lab8_builder;
package lab8_builder.ex1.lab8_builder;
public abstract class CarBuilder {
protected Car car;

View File

@ -1,4 +1,4 @@
package lab8_builder;
package lab8_builder.ex1.lab8_builder;
public class CarFactory {
private CarBuilder builder;

View File

@ -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) {

View File

@ -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

View File

@ -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