From 48315370595d4d9fbccc6d73a0e3fc5aafa4aa00 Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" Date: Mon, 22 Aug 2022 11:21:55 +0200 Subject: [PATCH] Add deprecated method to not have a breaking change.. >_> --- .../de/bluecolored/bluemap/api/markers/POIMarker.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/java/de/bluecolored/bluemap/api/markers/POIMarker.java b/src/main/java/de/bluecolored/bluemap/api/markers/POIMarker.java index aa9d912..b5b5aa8 100644 --- a/src/main/java/de/bluecolored/bluemap/api/markers/POIMarker.java +++ b/src/main/java/de/bluecolored/bluemap/api/markers/POIMarker.java @@ -202,4 +202,14 @@ public POIMarker build() { } + // ------ + + /** + * @deprecated use {@link #builder()} instead. + */ + @Deprecated + public static Builder toBuilder() { + return new Builder(); + } + }