From 6b14fcab754acee0c7108607ec9e3800e4c7ad67 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sun, 2 May 2021 17:15:13 +0200 Subject: [PATCH] [geoloc] Mark Builder constructor as deprecated --- .../jivesoftware/smackx/geoloc/packet/GeoLocation.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/geoloc/packet/GeoLocation.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/geoloc/packet/GeoLocation.java index f9d5a4598..b20d14259 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/geoloc/packet/GeoLocation.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/geoloc/packet/GeoLocation.java @@ -388,6 +388,15 @@ public final class GeoLocation implements Serializable, ExtensionElement, FormFi private String tzo; private URI uri; + /** + * Deprecated, do not use. + * @deprecated use {@link GeoLocation#builder()} instead. + */ + @Deprecated + // TODO Make constructor private in Smack 4.6. + public Builder() { + } + /** * Sets accuracy of horizontal GPS error in meters. *