Skip to content

Commit

Permalink
Add deprecated method to not have a breaking change.. >_>
Browse files Browse the repository at this point in the history
  • Loading branch information
TBlueF committed Aug 22, 2022
1 parent f8d10d1 commit 4831537
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/java/de/bluecolored/bluemap/api/markers/POIMarker.java
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,14 @@ public POIMarker build() {

}

// ------

/**
* @deprecated use {@link #builder()} instead.
*/
@Deprecated
public static Builder toBuilder() {
return new Builder();
}

}

2 comments on commit 4831537

@Seercat3160
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, someone was using it? Or did you just decide it would be best to make sure?

@TBlueF
Copy link
Member Author

@TBlueF TBlueF commented on 4831537 Aug 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i forgot to release it ... and by now the risk of someone using it is too high ^^'

Please sign in to comment.