diff --git a/UPDATE_NOTES.md b/UPDATE_NOTES.md index 9c059e6..a840e54 100644 --- a/UPDATE_NOTES.md +++ b/UPDATE_NOTES.md @@ -3,6 +3,7 @@ * `[PlutoLib]` *Removed* `TextIn`, `TextOut`, `ResourceImage` and `ResourceInputStream` * `[PlutoLib]` *Removed* `StaticPlutoEventManager` as the implementation was too obscure * The module system now uses its own event management + * *Removed* the `EventData` class * `[PlutoLib]` Made `OutputSplitStream` public as it is now reusable * `[PlutoLib]` Added the `@ConstantExpression` annotation * `[PlutoLib]` The `RAID#getIDOf` method now returns `OptionalInt` to avoid NPEs @@ -56,9 +57,9 @@ Awaiting implementation: * `[PlutoLib]` Deprecated `TPL#load(String)` in favor of `TPL#load(ResourceAddress)`, `TPL#load(File)` and `TPL#load(Path)` * `[PlutoTexturing]` Deprecated the `String` variant of `Texture#load` - to reflect this change + to reflect this change * `[PlutoSpritesheet]` Removed the usage of this method - in `DisposablePlaceholderSprite` + in `DisposablePlaceholderSprite` * `[PlutoLib]` Added an option to flip loaded images with `TPL#loadImageSpecial` and added respective `TPL#loadSpecial` for every `TPL#load` * `[PlutoLib]` *Removed* `TPJImage` diff --git a/plutolib/src/main/java/cz/tefek/pluto/chrono/MiniTime.java b/plutolib/src/main/java/cz/tefek/pluto/chrono/MiniTime.java index d8251ac..9875381 100644 --- a/plutolib/src/main/java/cz/tefek/pluto/chrono/MiniTime.java +++ b/plutolib/src/main/java/cz/tefek/pluto/chrono/MiniTime.java @@ -45,11 +45,6 @@ public class MiniTime { private static class MiniTimeParseException extends RuntimeException { - /** - * - */ - private static final long serialVersionUID = -5403949842120041373L; - public MiniTimeParseException() { super("Time period could not be parsed. Correct format: \\_w\\_d\\_h\\_m\\_s **without spaces** between the units. You can skip a time unit. Example: 1h15m"); @@ -189,7 +184,7 @@ public class MiniTime throw new MiniTimeParseException(); } - time += multiplier * number; + time += (long) multiplier * number; } return System.currentTimeMillis() + time; diff --git a/plutolib/src/main/java/cz/tefek/pluto/event/EventData.java b/plutolib/src/main/java/cz/tefek/pluto/event/EventData.java deleted file mode 100644 index a37a41c..0000000 --- a/plutolib/src/main/java/cz/tefek/pluto/event/EventData.java +++ /dev/null @@ -1,10 +0,0 @@ -package cz.tefek.pluto.event; - -/** - * @author 493msi - * - */ -public class EventData -{ - -}