moved to ex1 sub-directory
This commit is contained in:
parent
80b7f9e80d
commit
8caae17dd4
@ -1,4 +1,4 @@
|
||||
package lab8_builder;
|
||||
package lab8_builder.ex1;
|
||||
|
||||
public class Car {
|
||||
private String power;
|
@ -1,4 +1,4 @@
|
||||
package lab8_builder;
|
||||
package lab8_builder.ex1;
|
||||
|
||||
public abstract class CarBuilder {
|
||||
protected Car car;
|
@ -1,4 +1,4 @@
|
||||
package lab8_builder;
|
||||
package lab8_builder.ex1;
|
||||
|
||||
public class CarFactory {
|
||||
private CarBuilder builder;
|
@ -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) {
|
@ -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
|
@ -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
|
Loading…
Reference in New Issue
Block a user