From f25dd19e98d4343284dda670fe422577cd606b2f Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sat, 31 Aug 2024 19:20:49 +0200 Subject: [PATCH] Rename pkg base.type.vectors -> base.type.vector --- .../de/staropensource/sosengine/base/EngineConfiguration.java | 2 +- .../sosengine/base/type/{vectors => vector}/Vec2d.java | 2 +- .../sosengine/base/type/{vectors => vector}/Vec2f.java | 2 +- .../sosengine/base/type/{vectors => vector}/Vec2i.java | 2 +- .../sosengine/base/type/{vectors => vector}/Vec3d.java | 2 +- .../sosengine/base/type/{vectors => vector}/Vec3f.java | 2 +- .../sosengine/base/type/{vectors => vector}/Vec3i.java | 2 +- .../sosengine/base/type/{vectors => vector}/package-info.java | 2 +- base/src/main/java/module-info.java | 4 ++-- .../main/java/de/staropensource/sosengine/testapp/Main.java | 2 +- .../sosengine/windowing/glfw/implementable/GlfwMonitor.java | 2 +- .../sosengine/windowing/glfw/implementable/GlfwWindow.java | 2 +- .../sosengine/windowing/implementable/Monitor.java | 2 +- .../sosengine/windowing/implementable/Window.java | 2 +- 14 files changed, 15 insertions(+), 15 deletions(-) rename base/src/main/java/de/staropensource/sosengine/base/type/{vectors => vector}/Vec2d.java (97%) rename base/src/main/java/de/staropensource/sosengine/base/type/{vectors => vector}/Vec2f.java (97%) rename base/src/main/java/de/staropensource/sosengine/base/type/{vectors => vector}/Vec2i.java (98%) rename base/src/main/java/de/staropensource/sosengine/base/type/{vectors => vector}/Vec3d.java (98%) rename base/src/main/java/de/staropensource/sosengine/base/type/{vectors => vector}/Vec3f.java (98%) rename base/src/main/java/de/staropensource/sosengine/base/type/{vectors => vector}/Vec3i.java (98%) rename base/src/main/java/de/staropensource/sosengine/base/type/{vectors => vector}/package-info.java (94%) diff --git a/base/src/main/java/de/staropensource/sosengine/base/EngineConfiguration.java b/base/src/main/java/de/staropensource/sosengine/base/EngineConfiguration.java index 7f34679..222f1d9 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/EngineConfiguration.java +++ b/base/src/main/java/de/staropensource/sosengine/base/EngineConfiguration.java @@ -26,7 +26,7 @@ import de.staropensource.sosengine.base.logging.CrashHandler; import de.staropensource.sosengine.base.logging.Logger; import de.staropensource.sosengine.base.type.EngineState; import de.staropensource.sosengine.base.type.logging.LogLevel; -import de.staropensource.sosengine.base.type.vectors.Vec2f; +import de.staropensource.sosengine.base.type.vector.Vec2f; import de.staropensource.sosengine.base.utility.PropertiesReader; import lombok.Getter; import org.jetbrains.annotations.NotNull; diff --git a/base/src/main/java/de/staropensource/sosengine/base/type/vectors/Vec2d.java b/base/src/main/java/de/staropensource/sosengine/base/type/vector/Vec2d.java similarity index 97% rename from base/src/main/java/de/staropensource/sosengine/base/type/vectors/Vec2d.java rename to base/src/main/java/de/staropensource/sosengine/base/type/vector/Vec2d.java index dfc0e7e..f9805ea 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/type/vectors/Vec2d.java +++ b/base/src/main/java/de/staropensource/sosengine/base/type/vector/Vec2d.java @@ -17,7 +17,7 @@ * along with this program. If not, see . */ -package de.staropensource.sosengine.base.type.vectors; +package de.staropensource.sosengine.base.type.vector; import de.staropensource.sosengine.base.EngineConfiguration; import lombok.Getter; diff --git a/base/src/main/java/de/staropensource/sosengine/base/type/vectors/Vec2f.java b/base/src/main/java/de/staropensource/sosengine/base/type/vector/Vec2f.java similarity index 97% rename from base/src/main/java/de/staropensource/sosengine/base/type/vectors/Vec2f.java rename to base/src/main/java/de/staropensource/sosengine/base/type/vector/Vec2f.java index 66865fc..88d06c4 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/type/vectors/Vec2f.java +++ b/base/src/main/java/de/staropensource/sosengine/base/type/vector/Vec2f.java @@ -17,7 +17,7 @@ * along with this program. If not, see . */ -package de.staropensource.sosengine.base.type.vectors; +package de.staropensource.sosengine.base.type.vector; import de.staropensource.sosengine.base.EngineConfiguration; import lombok.Getter; diff --git a/base/src/main/java/de/staropensource/sosengine/base/type/vectors/Vec2i.java b/base/src/main/java/de/staropensource/sosengine/base/type/vector/Vec2i.java similarity index 98% rename from base/src/main/java/de/staropensource/sosengine/base/type/vectors/Vec2i.java rename to base/src/main/java/de/staropensource/sosengine/base/type/vector/Vec2i.java index 89c9599..4848590 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/type/vectors/Vec2i.java +++ b/base/src/main/java/de/staropensource/sosengine/base/type/vector/Vec2i.java @@ -17,7 +17,7 @@ * along with this program. If not, see . */ -package de.staropensource.sosengine.base.type.vectors; +package de.staropensource.sosengine.base.type.vector; import de.staropensource.sosengine.base.EngineConfiguration; import lombok.Getter; diff --git a/base/src/main/java/de/staropensource/sosengine/base/type/vectors/Vec3d.java b/base/src/main/java/de/staropensource/sosengine/base/type/vector/Vec3d.java similarity index 98% rename from base/src/main/java/de/staropensource/sosengine/base/type/vectors/Vec3d.java rename to base/src/main/java/de/staropensource/sosengine/base/type/vector/Vec3d.java index d055711..2d3fd0b 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/type/vectors/Vec3d.java +++ b/base/src/main/java/de/staropensource/sosengine/base/type/vector/Vec3d.java @@ -17,7 +17,7 @@ * along with this program. If not, see . */ -package de.staropensource.sosengine.base.type.vectors; +package de.staropensource.sosengine.base.type.vector; import de.staropensource.sosengine.base.EngineConfiguration; import lombok.Getter; diff --git a/base/src/main/java/de/staropensource/sosengine/base/type/vectors/Vec3f.java b/base/src/main/java/de/staropensource/sosengine/base/type/vector/Vec3f.java similarity index 98% rename from base/src/main/java/de/staropensource/sosengine/base/type/vectors/Vec3f.java rename to base/src/main/java/de/staropensource/sosengine/base/type/vector/Vec3f.java index 5c13822..6a534ef 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/type/vectors/Vec3f.java +++ b/base/src/main/java/de/staropensource/sosengine/base/type/vector/Vec3f.java @@ -17,7 +17,7 @@ * along with this program. If not, see . */ -package de.staropensource.sosengine.base.type.vectors; +package de.staropensource.sosengine.base.type.vector; import de.staropensource.sosengine.base.EngineConfiguration; import lombok.Getter; diff --git a/base/src/main/java/de/staropensource/sosengine/base/type/vectors/Vec3i.java b/base/src/main/java/de/staropensource/sosengine/base/type/vector/Vec3i.java similarity index 98% rename from base/src/main/java/de/staropensource/sosengine/base/type/vectors/Vec3i.java rename to base/src/main/java/de/staropensource/sosengine/base/type/vector/Vec3i.java index 73f4c56..e475ab1 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/type/vectors/Vec3i.java +++ b/base/src/main/java/de/staropensource/sosengine/base/type/vector/Vec3i.java @@ -17,7 +17,7 @@ * along with this program. If not, see . */ -package de.staropensource.sosengine.base.type.vectors; +package de.staropensource.sosengine.base.type.vector; import de.staropensource.sosengine.base.EngineConfiguration; import lombok.Getter; diff --git a/base/src/main/java/de/staropensource/sosengine/base/type/vectors/package-info.java b/base/src/main/java/de/staropensource/sosengine/base/type/vector/package-info.java similarity index 94% rename from base/src/main/java/de/staropensource/sosengine/base/type/vectors/package-info.java rename to base/src/main/java/de/staropensource/sosengine/base/type/vector/package-info.java index f01b6ef..5e95f69 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/type/vectors/package-info.java +++ b/base/src/main/java/de/staropensource/sosengine/base/type/vector/package-info.java @@ -22,4 +22,4 @@ * * @since v1-alpha1 */ -package de.staropensource.sosengine.base.type.vectors; +package de.staropensource.sosengine.base.type.vector; diff --git a/base/src/main/java/module-info.java b/base/src/main/java/module-info.java index bc4a3fd..ef9ffed 100644 --- a/base/src/main/java/module-info.java +++ b/base/src/main/java/module-info.java @@ -30,7 +30,7 @@ module sosengine.base { exports de.staropensource.sosengine.base.type.immutable; exports de.staropensource.sosengine.base.type.logging; exports de.staropensource.sosengine.base.type.reflection; - exports de.staropensource.sosengine.base.type.vectors; + exports de.staropensource.sosengine.base.type.vector; exports de.staropensource.sosengine.base.utility; exports de.staropensource.sosengine.base.implementation.shortcode; exports de.staropensource.sosengine.unittest; @@ -55,7 +55,7 @@ module sosengine.base { opens de.staropensource.sosengine.base.type.immutable; opens de.staropensource.sosengine.base.type.logging; opens de.staropensource.sosengine.base.type.reflection; - opens de.staropensource.sosengine.base.type.vectors; + opens de.staropensource.sosengine.base.type.vector; opens de.staropensource.sosengine.base.utility; opens de.staropensource.sosengine.base.implementation.shortcode; opens de.staropensource.sosengine.unittest; diff --git a/testapp/src/main/java/de/staropensource/sosengine/testapp/Main.java b/testapp/src/main/java/de/staropensource/sosengine/testapp/Main.java index 4eee7a4..974aad7 100644 --- a/testapp/src/main/java/de/staropensource/sosengine/testapp/Main.java +++ b/testapp/src/main/java/de/staropensource/sosengine/testapp/Main.java @@ -22,7 +22,7 @@ package de.staropensource.sosengine.testapp; import de.staropensource.sosengine.base.Engine; import de.staropensource.sosengine.base.annotation.EventListener; import de.staropensource.sosengine.base.logging.LoggerInstance; -import de.staropensource.sosengine.base.type.vectors.Vec2i; +import de.staropensource.sosengine.base.type.vector.Vec2i; import de.staropensource.sosengine.base.utility.StackTraceParser; import de.staropensource.sosengine.windowing.WindowingSubsystem; import de.staropensource.sosengine.windowing.event.InputEvent; diff --git a/windowing/glfw/src/main/java/de/staropensource/sosengine/windowing/glfw/implementable/GlfwMonitor.java b/windowing/glfw/src/main/java/de/staropensource/sosengine/windowing/glfw/implementable/GlfwMonitor.java index 5a80c98..0628d33 100644 --- a/windowing/glfw/src/main/java/de/staropensource/sosengine/windowing/glfw/implementable/GlfwMonitor.java +++ b/windowing/glfw/src/main/java/de/staropensource/sosengine/windowing/glfw/implementable/GlfwMonitor.java @@ -19,7 +19,7 @@ package de.staropensource.sosengine.windowing.glfw.implementable; -import de.staropensource.sosengine.base.type.vectors.Vec2i; +import de.staropensource.sosengine.base.type.vector.Vec2i; import de.staropensource.sosengine.windowing.implementable.Monitor; import de.staropensource.sosengine.windowing.exception.InvalidMonitorException; import lombok.SneakyThrows; diff --git a/windowing/glfw/src/main/java/de/staropensource/sosengine/windowing/glfw/implementable/GlfwWindow.java b/windowing/glfw/src/main/java/de/staropensource/sosengine/windowing/glfw/implementable/GlfwWindow.java index bbea485..43eb51e 100644 --- a/windowing/glfw/src/main/java/de/staropensource/sosengine/windowing/glfw/implementable/GlfwWindow.java +++ b/windowing/glfw/src/main/java/de/staropensource/sosengine/windowing/glfw/implementable/GlfwWindow.java @@ -21,7 +21,7 @@ package de.staropensource.sosengine.windowing.glfw.implementable; import de.staropensource.sosengine.base.exception.UnexpectedThrowableException; import de.staropensource.sosengine.base.type.Tristate; -import de.staropensource.sosengine.base.type.vectors.Vec2i; +import de.staropensource.sosengine.base.type.vector.Vec2i; import de.staropensource.sosengine.base.utility.Miscellaneous; import de.staropensource.sosengine.windowing.WindowingSubsystemConfiguration; import de.staropensource.sosengine.windowing.implementable.Monitor; diff --git a/windowing/src/main/java/de/staropensource/sosengine/windowing/implementable/Monitor.java b/windowing/src/main/java/de/staropensource/sosengine/windowing/implementable/Monitor.java index e90dfb7..18b24ca 100644 --- a/windowing/src/main/java/de/staropensource/sosengine/windowing/implementable/Monitor.java +++ b/windowing/src/main/java/de/staropensource/sosengine/windowing/implementable/Monitor.java @@ -20,7 +20,7 @@ package de.staropensource.sosengine.windowing.implementable; import de.staropensource.sosengine.base.logging.LoggerInstance; -import de.staropensource.sosengine.base.type.vectors.Vec2i; +import de.staropensource.sosengine.base.type.vector.Vec2i; import de.staropensource.sosengine.windowing.WindowingSubsystem; import de.staropensource.sosengine.windowing.exception.InvalidMonitorException; import de.staropensource.sosengine.windowing.exception.NoMonitorsFoundException; diff --git a/windowing/src/main/java/de/staropensource/sosengine/windowing/implementable/Window.java b/windowing/src/main/java/de/staropensource/sosengine/windowing/implementable/Window.java index 1c24dd3..e7f94cc 100644 --- a/windowing/src/main/java/de/staropensource/sosengine/windowing/implementable/Window.java +++ b/windowing/src/main/java/de/staropensource/sosengine/windowing/implementable/Window.java @@ -22,7 +22,7 @@ package de.staropensource.sosengine.windowing.implementable; import de.staropensource.sosengine.base.exception.UnexpectedThrowableException; import de.staropensource.sosengine.base.logging.LoggerInstance; import de.staropensource.sosengine.base.type.Tristate; -import de.staropensource.sosengine.base.type.vectors.Vec2i; +import de.staropensource.sosengine.base.type.vector.Vec2i; import de.staropensource.sosengine.windowing.WindowingSubsystem; import de.staropensource.sosengine.windowing.type.window.WindowMode; import lombok.AccessLevel;