3838
3939/**
4040 * @deprecated
41- * This class, and the com.box.sdk package is deprecated, it is recommended to use com.box.sdkgen package.
41+ * This class, and the com.box.sdk package is deprecated, it is recommended to use {@link com.box.sdkgen} package.
4242 * Instead of this class use {@link com.box.sdkgen.client.BoxClient}
4343 *
4444 * Represents an authenticated connection to the Box API.
@@ -142,7 +142,7 @@ public class BoxAPIConnection {
142142
143143 /**
144144 * @deprecated
145- * This constructor, and the com.box.sdk package is deprecated, it is recommended to use com.box.sdkgen package.
145+ * This constructor, and the com.box.sdk package is deprecated, it is recommended to use {@link com.box.sdkgen} package.
146146 * Instead of this class use {@link com.box.sdkgen.client.BoxClient}
147147 *
148148 * Constructs a new BoxAPIConnection that authenticates with a developer or access token.
@@ -156,7 +156,7 @@ public BoxAPIConnection(String accessToken) {
156156
157157 /**
158158 * @deprecated
159- * This constructor, and the com.box.sdk package is deprecated, it is recommended to use com.box.sdkgen package.
159+ * This constructor, and the com.box.sdk package is deprecated, it is recommended to use {@link com.box.sdkgen} package.
160160 * Instead of this class use {@link com.box.sdkgen.client.BoxClient}
161161 *
162162 * Constructs a new BoxAPIConnection with an access token that can be refreshed.
@@ -186,13 +186,12 @@ public BoxAPIConnection(
186186 this .userAgent = "Box Java SDK v" + SDK_VERSION + " (Java " + JAVA_VERSION + ")" ;
187187 this .listeners = new ArrayList <>();
188188 this .customHeaders = new HashMap <>();
189- System .err .println ("Package boxsdk will be deprecated soon. Please use box-sdk-gen instead." );
190189 buildHttpClients ();
191190 }
192191
193192 /**
194193 * @deprecated
195- * This constructor, and the com.box.sdk package is deprecated, it is recommended to use com.box.sdkgen package.
194+ * This constructor, and the com.box.sdk package is deprecated, it is recommended to use {@link com.box.sdkgen} package.
196195 * Instead of this class use {@link com.box.sdkgen.client.BoxClient}
197196 *
198197 * Constructs a new BoxAPIConnection with an auth code that was obtained from the first half of
@@ -210,7 +209,7 @@ public BoxAPIConnection(String clientID, String clientSecret, String authCode) {
210209
211210 /**
212211 * @deprecated
213- * This constructor, and the com.box.sdk package is deprecated, it is recommended to use com.box.sdkgen package.
212+ * This constructor, and the com.box.sdk package is deprecated, it is recommended to use {@link com.box.sdkgen} package.
214213 * Instead of this class use {@link com.box.sdkgen.client.BoxClient}
215214 *
216215 * Constructs a new BoxAPIConnection.
@@ -225,7 +224,7 @@ public BoxAPIConnection(String clientID, String clientSecret) {
225224
226225 /**
227226 * @deprecated
228- * This constructor, and the com.box.sdk package is deprecated, it is recommended to use com.box.sdkgen package.
227+ * This constructor, and the com.box.sdk package is deprecated, it is recommended to use {@link com.box.sdkgen} package.
229228 * Instead of this class use {@link com.box.sdkgen.client.BoxClient}
230229 *
231230 * Constructs a new BoxAPIConnection leveraging BoxConfig.
0 commit comments