[LIB-13] Package restructuring
authorgotty <gotty@hedgecode.org>
Sat, 18 Jan 2020 00:09:36 +0000 (03:09 +0300)
committergotty <gotty@hedgecode.org>
Sat, 18 Jan 2020 00:09:36 +0000 (03:09 +0300)
27 files changed:
src/main/java/org/hedgecode/chess/scanner/format/chessbomb/ArenaFormat.java [moved from src/main/java/org/hedgecode/chess/scanner/format/ArenaFormat.java with 93% similarity]
src/main/java/org/hedgecode/chess/scanner/format/chessbomb/BaseFormat.java [moved from src/main/java/org/hedgecode/chess/scanner/format/BaseFormat.java with 93% similarity]
src/main/java/org/hedgecode/chess/scanner/format/chessbomb/Format.java [moved from src/main/java/org/hedgecode/chess/scanner/format/Format.java with 96% similarity]
src/main/java/org/hedgecode/chess/scanner/format/chessbomb/FormatBuilder.java [moved from src/main/java/org/hedgecode/chess/scanner/format/FormatBuilder.java with 94% similarity]
src/main/java/org/hedgecode/chess/scanner/format/chessbomb/Game.java [moved from src/main/java/org/hedgecode/chess/scanner/format/Game.java with 95% similarity]
src/main/java/org/hedgecode/chess/scanner/format/chessbomb/GameData.java [moved from src/main/java/org/hedgecode/chess/scanner/format/GameData.java with 88% similarity]
src/main/java/org/hedgecode/chess/scanner/format/chessbomb/GameFormat.java [moved from src/main/java/org/hedgecode/chess/scanner/format/GameFormat.java with 93% similarity]
src/main/java/org/hedgecode/chess/scanner/format/chessbomb/IndexData.java [moved from src/main/java/org/hedgecode/chess/scanner/format/IndexData.java with 93% similarity]
src/main/java/org/hedgecode/chess/scanner/format/chessbomb/Player.java [moved from src/main/java/org/hedgecode/chess/scanner/format/Player.java with 93% similarity]
src/main/java/org/hedgecode/chess/scanner/format/chessbomb/Room.java [moved from src/main/java/org/hedgecode/chess/scanner/format/Room.java with 94% similarity]
src/main/java/org/hedgecode/chess/scanner/format/chessbomb/RoomData.java [moved from src/main/java/org/hedgecode/chess/scanner/format/RoomData.java with 93% similarity]
src/main/java/org/hedgecode/chess/scanner/format/chessbomb/TournamentFormat.java [moved from src/main/java/org/hedgecode/chess/scanner/format/TournamentFormat.java with 94% similarity]
src/main/java/org/hedgecode/chess/scanner/json/chessbomb/AbstractBaseFormat.java [moved from src/main/java/org/hedgecode/chess/scanner/json/format/AbstractBaseFormat.java with 90% similarity]
src/main/java/org/hedgecode/chess/scanner/json/chessbomb/JSONArenaFormat.java [moved from src/main/java/org/hedgecode/chess/scanner/json/format/JSONArenaFormat.java with 84% similarity]
src/main/java/org/hedgecode/chess/scanner/json/chessbomb/JSONFormatBuilder.java [moved from src/main/java/org/hedgecode/chess/scanner/json/format/JSONFormatBuilder.java with 81% similarity]
src/main/java/org/hedgecode/chess/scanner/json/chessbomb/JSONGame.java [moved from src/main/java/org/hedgecode/chess/scanner/json/format/JSONGame.java with 94% similarity]
src/main/java/org/hedgecode/chess/scanner/json/chessbomb/JSONGameData.java [moved from src/main/java/org/hedgecode/chess/scanner/json/format/JSONGameData.java with 84% similarity]
src/main/java/org/hedgecode/chess/scanner/json/chessbomb/JSONGameFormat.java [moved from src/main/java/org/hedgecode/chess/scanner/json/format/JSONGameFormat.java with 93% similarity]
src/main/java/org/hedgecode/chess/scanner/json/chessbomb/JSONIndexData.java [moved from src/main/java/org/hedgecode/chess/scanner/json/format/JSONIndexData.java with 84% similarity]
src/main/java/org/hedgecode/chess/scanner/json/chessbomb/JSONMove.java [moved from src/main/java/org/hedgecode/chess/scanner/json/format/JSONMove.java with 95% similarity]
src/main/java/org/hedgecode/chess/scanner/json/chessbomb/JSONPlayer.java [moved from src/main/java/org/hedgecode/chess/scanner/json/format/JSONPlayer.java with 93% similarity]
src/main/java/org/hedgecode/chess/scanner/json/chessbomb/JSONRoom.java [moved from src/main/java/org/hedgecode/chess/scanner/json/format/JSONRoom.java with 95% similarity]
src/main/java/org/hedgecode/chess/scanner/json/chessbomb/JSONRoomData.java [moved from src/main/java/org/hedgecode/chess/scanner/json/format/JSONRoomData.java with 82% similarity]
src/main/java/org/hedgecode/chess/scanner/json/chessbomb/JSONTournamentFormat.java [moved from src/main/java/org/hedgecode/chess/scanner/json/format/JSONTournamentFormat.java with 87% similarity]
src/main/java/org/hedgecode/chess/scanner/portal/ChessBombScanner.java
src/main/resources/META-INF/services/org.hedgecode.chess.scanner.format.FormatBuilder [deleted file]
src/main/resources/META-INF/services/org.hedgecode.chess.scanner.format.chessbomb.FormatBuilder [new file with mode: 0644]

@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-package org.hedgecode.chess.scanner.format;
+package org.hedgecode.chess.scanner.format.chessbomb;
 
 import org.hedgecode.chess.scanner.spi.ServiceRegistry;
 
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-package org.hedgecode.chess.scanner.format;
+package org.hedgecode.chess.scanner.format.chessbomb;
 
 import java.util.Date;
 
@@ -14,7 +14,9 @@
  * limitations under the License.
  */
 
-package org.hedgecode.chess.scanner.format;
+package org.hedgecode.chess.scanner.format.chessbomb;
+
+import org.hedgecode.chess.scanner.format.Move;
 
 /**
  * GameData
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-package org.hedgecode.chess.scanner.format;
+package org.hedgecode.chess.scanner.format.chessbomb;
 
 import org.hedgecode.chess.scanner.entity.PGNEntity;
 
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-package org.hedgecode.chess.scanner.format;
+package org.hedgecode.chess.scanner.format.chessbomb;
 
 /**
  * Player
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-package org.hedgecode.chess.scanner.format;
+package org.hedgecode.chess.scanner.format.chessbomb;
 
 import java.util.Date;
 
  * limitations under the License.
  */
 
-package org.hedgecode.chess.scanner.json.format;
+package org.hedgecode.chess.scanner.json.chessbomb;
 
 import com.google.gson.annotations.SerializedName;
 
-import org.hedgecode.chess.scanner.format.BaseFormat;
+import org.hedgecode.chess.scanner.format.chessbomb.BaseFormat;
 
 /**
  * AbstractBaseFormat
  * limitations under the License.
  */
 
-package org.hedgecode.chess.scanner.json.format;
+package org.hedgecode.chess.scanner.json.chessbomb;
 
 import com.google.gson.annotations.SerializedName;
 
-import org.hedgecode.chess.scanner.format.ArenaFormat;
-import org.hedgecode.chess.scanner.format.IndexData;
-import org.hedgecode.chess.scanner.format.Room;
+import org.hedgecode.chess.scanner.format.chessbomb.ArenaFormat;
+import org.hedgecode.chess.scanner.format.chessbomb.IndexData;
+import org.hedgecode.chess.scanner.format.chessbomb.Room;
 
 /**
  * JSONArenaFormat
  * limitations under the License.
  */
 
-package org.hedgecode.chess.scanner.json.format;
+package org.hedgecode.chess.scanner.json.chessbomb;
 
 import com.google.gson.Gson;
 import com.google.gson.GsonBuilder;
 
-import org.hedgecode.chess.scanner.format.ArenaFormat;
-import org.hedgecode.chess.scanner.format.FormatBuilder;
-import org.hedgecode.chess.scanner.format.GameFormat;
-import org.hedgecode.chess.scanner.format.TournamentFormat;
+import org.hedgecode.chess.scanner.format.chessbomb.ArenaFormat;
+import org.hedgecode.chess.scanner.format.chessbomb.FormatBuilder;
+import org.hedgecode.chess.scanner.format.chessbomb.GameFormat;
+import org.hedgecode.chess.scanner.format.chessbomb.TournamentFormat;
 
 /**
  * JSONFormatBuilder
  * limitations under the License.
  */
 
-package org.hedgecode.chess.scanner.json.format;
+package org.hedgecode.chess.scanner.json.chessbomb;
 
 import java.util.Date;
 
 import com.google.gson.annotations.SerializedName;
 
-import org.hedgecode.chess.scanner.format.Game;
-import org.hedgecode.chess.scanner.format.Player;
+import org.hedgecode.chess.scanner.format.chessbomb.Game;
+import org.hedgecode.chess.scanner.format.chessbomb.Player;
 
 /**
  * JSONGame
  * limitations under the License.
  */
 
-package org.hedgecode.chess.scanner.json.format;
+package org.hedgecode.chess.scanner.json.chessbomb;
 
 import com.google.gson.annotations.SerializedName;
 
-import org.hedgecode.chess.scanner.format.Game;
-import org.hedgecode.chess.scanner.format.GameData;
+import org.hedgecode.chess.scanner.format.chessbomb.Game;
+import org.hedgecode.chess.scanner.format.chessbomb.GameData;
 import org.hedgecode.chess.scanner.format.Move;
-import org.hedgecode.chess.scanner.format.Room;
+import org.hedgecode.chess.scanner.format.chessbomb.Room;
 
 /**
  * JSONGameData
  * limitations under the License.
  */
 
-package org.hedgecode.chess.scanner.json.format;
+package org.hedgecode.chess.scanner.json.chessbomb;
 
 import com.google.gson.annotations.SerializedName;
 
 import org.hedgecode.chess.scanner.format.PGNFormat;
 import org.hedgecode.chess.scanner.format.PGNTag;
-import org.hedgecode.chess.scanner.format.GameData;
-import org.hedgecode.chess.scanner.format.GameFormat;
+import org.hedgecode.chess.scanner.format.chessbomb.GameData;
+import org.hedgecode.chess.scanner.format.chessbomb.GameFormat;
 import org.hedgecode.chess.scanner.format.TypeMovesFormat;
 import org.hedgecode.chess.scanner.spi.ServiceRegistry;
 
  * limitations under the License.
  */
 
-package org.hedgecode.chess.scanner.json.format;
+package org.hedgecode.chess.scanner.json.chessbomb;
 
 import com.google.gson.annotations.SerializedName;
 
-import org.hedgecode.chess.scanner.format.IndexData;
-import org.hedgecode.chess.scanner.format.Room;
+import org.hedgecode.chess.scanner.format.chessbomb.IndexData;
+import org.hedgecode.chess.scanner.format.chessbomb.Room;
 
 /**
  * JSONIndexData
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-package org.hedgecode.chess.scanner.json.format;
+package org.hedgecode.chess.scanner.json.chessbomb;
 
 import com.google.gson.annotations.SerializedName;
 
  * limitations under the License.
  */
 
-package org.hedgecode.chess.scanner.json.format;
+package org.hedgecode.chess.scanner.json.chessbomb;
 
 import com.google.gson.annotations.SerializedName;
 
-import org.hedgecode.chess.scanner.format.Player;
+import org.hedgecode.chess.scanner.format.chessbomb.Player;
 
 /**
  * JSONPlayer
  * limitations under the License.
  */
 
-package org.hedgecode.chess.scanner.json.format;
+package org.hedgecode.chess.scanner.json.chessbomb;
 
 import java.util.Date;
 
 import com.google.gson.annotations.SerializedName;
 
-import org.hedgecode.chess.scanner.format.Room;
+import org.hedgecode.chess.scanner.format.chessbomb.Room;
 
 /**
  * JSONRoom
  * limitations under the License.
  */
 
-package org.hedgecode.chess.scanner.json.format;
+package org.hedgecode.chess.scanner.json.chessbomb;
 
 import com.google.gson.annotations.SerializedName;
 
-import org.hedgecode.chess.scanner.format.Game;
-import org.hedgecode.chess.scanner.format.Room;
-import org.hedgecode.chess.scanner.format.RoomData;
+import org.hedgecode.chess.scanner.format.chessbomb.Game;
+import org.hedgecode.chess.scanner.format.chessbomb.Room;
+import org.hedgecode.chess.scanner.format.chessbomb.RoomData;
 
 /**
  * JSONRoomData
  * limitations under the License.
  */
 
-package org.hedgecode.chess.scanner.json.format;
+package org.hedgecode.chess.scanner.json.chessbomb;
 
 import java.util.ArrayList;
 import java.util.List;
 
 import com.google.gson.annotations.SerializedName;
 
-import org.hedgecode.chess.scanner.format.Game;
-import org.hedgecode.chess.scanner.format.RoomData;
-import org.hedgecode.chess.scanner.format.TournamentFormat;
+import org.hedgecode.chess.scanner.format.chessbomb.Game;
+import org.hedgecode.chess.scanner.format.chessbomb.RoomData;
+import org.hedgecode.chess.scanner.format.chessbomb.TournamentFormat;
 
 /**
  * JSONTournamentFormat
index 9084f5a..0a7c2ae 100644 (file)
@@ -21,10 +21,10 @@ import java.util.Base64;
 import org.hedgecode.chess.scanner.ChessHogScannerException;
 import org.hedgecode.chess.scanner.entity.PGNGame;
 import org.hedgecode.chess.scanner.entity.PGNTournament;
-import org.hedgecode.chess.scanner.format.ArenaFormat;
-import org.hedgecode.chess.scanner.format.Format;
-import org.hedgecode.chess.scanner.format.GameFormat;
-import org.hedgecode.chess.scanner.format.TournamentFormat;
+import org.hedgecode.chess.scanner.format.chessbomb.ArenaFormat;
+import org.hedgecode.chess.scanner.format.chessbomb.Format;
+import org.hedgecode.chess.scanner.format.chessbomb.GameFormat;
+import org.hedgecode.chess.scanner.format.chessbomb.TournamentFormat;
 
 /**
  * ChessBombScanner
diff --git a/src/main/resources/META-INF/services/org.hedgecode.chess.scanner.format.FormatBuilder b/src/main/resources/META-INF/services/org.hedgecode.chess.scanner.format.FormatBuilder
deleted file mode 100644 (file)
index f383f01..0000000
+++ /dev/null
@@ -1 +0,0 @@
-org.hedgecode.chess.scanner.json.format.JSONFormatBuilder
\ No newline at end of file
diff --git a/src/main/resources/META-INF/services/org.hedgecode.chess.scanner.format.chessbomb.FormatBuilder b/src/main/resources/META-INF/services/org.hedgecode.chess.scanner.format.chessbomb.FormatBuilder
new file mode 100644 (file)
index 0000000..62b5639
--- /dev/null
@@ -0,0 +1 @@
+org.hedgecode.chess.scanner.json.chessbomb.JSONFormatBuilder
\ No newline at end of file