From d7c4e63d6dcd7bb4d489af4655a61d27206be8e1 Mon Sep 17 00:00:00 2001 From: Hammy Date: Sat, 6 Feb 2021 14:45:09 +0000 Subject: [PATCH] Refactor Directories --- Design Patterns/src/composite/{ => music/player}/Main.java | 2 +- Design Patterns/src/composite/{ => music/player}/Song.java | 2 +- .../src/composite/{ => music/player}/SongComponent.java | 2 +- Design Patterns/src/composite/{ => music/player}/SongGroup.java | 2 +- .../src/composite/{ => music/player}/SongIterator.java | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename Design Patterns/src/composite/{ => music/player}/Main.java (97%) rename Design Patterns/src/composite/{ => music/player}/Song.java (96%) rename Design Patterns/src/composite/{ => music/player}/SongComponent.java (95%) rename Design Patterns/src/composite/{ => music/player}/SongGroup.java (97%) rename Design Patterns/src/composite/{ => music/player}/SongIterator.java (94%) diff --git a/Design Patterns/src/composite/Main.java b/Design Patterns/src/composite/music/player/Main.java similarity index 97% rename from Design Patterns/src/composite/Main.java rename to Design Patterns/src/composite/music/player/Main.java index 1465880..12297c1 100644 --- a/Design Patterns/src/composite/Main.java +++ b/Design Patterns/src/composite/music/player/Main.java @@ -1,4 +1,4 @@ -package composite; +package composite.music.player; public class Main { public static void main(String[] args){ diff --git a/Design Patterns/src/composite/Song.java b/Design Patterns/src/composite/music/player/Song.java similarity index 96% rename from Design Patterns/src/composite/Song.java rename to Design Patterns/src/composite/music/player/Song.java index c223539..5c857cb 100644 --- a/Design Patterns/src/composite/Song.java +++ b/Design Patterns/src/composite/music/player/Song.java @@ -1,4 +1,4 @@ -package composite; +package composite.music.player; public class Song extends SongComponent { diff --git a/Design Patterns/src/composite/SongComponent.java b/Design Patterns/src/composite/music/player/SongComponent.java similarity index 95% rename from Design Patterns/src/composite/SongComponent.java rename to Design Patterns/src/composite/music/player/SongComponent.java index 13795c0..70b9d2c 100644 --- a/Design Patterns/src/composite/SongComponent.java +++ b/Design Patterns/src/composite/music/player/SongComponent.java @@ -1,4 +1,4 @@ -package composite; +package composite.music.player; public abstract class SongComponent { diff --git a/Design Patterns/src/composite/SongGroup.java b/Design Patterns/src/composite/music/player/SongGroup.java similarity index 97% rename from Design Patterns/src/composite/SongGroup.java rename to Design Patterns/src/composite/music/player/SongGroup.java index e602ce9..ae72d1d 100644 --- a/Design Patterns/src/composite/SongGroup.java +++ b/Design Patterns/src/composite/music/player/SongGroup.java @@ -1,4 +1,4 @@ -package composite; +package composite.music.player; import java.util.ArrayList; import java.util.List; diff --git a/Design Patterns/src/composite/SongIterator.java b/Design Patterns/src/composite/music/player/SongIterator.java similarity index 94% rename from Design Patterns/src/composite/SongIterator.java rename to Design Patterns/src/composite/music/player/SongIterator.java index 28b0435..c5728a9 100644 --- a/Design Patterns/src/composite/SongIterator.java +++ b/Design Patterns/src/composite/music/player/SongIterator.java @@ -1,4 +1,4 @@ -package composite; +package composite.music.player; import java.util.Iterator; import java.util.List;