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) {
223
223
* <p>Default is null.</p>
224
224
*
225
225
* @return the description
226
+ * @deprecated Prefer {@link #getApplicationName()}
226
227
*/
228
+ @ Deprecated
227
229
public String getDescription () {
228
230
return description ;
229
231
}
@@ -1053,7 +1055,9 @@ public Builder(final MongoClientOptions options) {
1053
1055
* @param description the description of this MongoClient
1054
1056
* @return {@code this}
1055
1057
* @see com.mongodb.MongoClientOptions#getDescription()
1058
+ * @deprecated Prefer {@link MongoClientOptions.Builder#applicationName(String)}
1056
1059
*/
1060
+ @ Deprecated
1057
1061
public Builder description (final String description ) {
1058
1062
this .description = description ;
1059
1063
return this ;
You can’t perform that action at this time.
0 commit comments