File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
driver-legacy/src/main/com/mongodb Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,9 @@ public static Builder builder(final MongoClientOptions options) {
223223 * <p>Default is null.</p>
224224 *
225225 * @return the description
226+ * @deprecated Prefer {@link #getApplicationName()}
226227 */
228+ @ Deprecated
227229 public String getDescription () {
228230 return description ;
229231 }
@@ -1053,7 +1055,9 @@ public Builder(final MongoClientOptions options) {
10531055 * @param description the description of this MongoClient
10541056 * @return {@code this}
10551057 * @see com.mongodb.MongoClientOptions#getDescription()
1058+ * @deprecated Prefer {@link MongoClientOptions.Builder#applicationName(String)}
10561059 */
1060+ @ Deprecated
10571061 public Builder description (final String description ) {
10581062 this .description = description ;
10591063 return this ;
You can’t perform that action at this time.
0 commit comments