File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,7 +66,9 @@ public CommandResult getCachedLastError(){
6666 * Gets the last {@link WriteConcern} used when calling getLastError().
6767 *
6868 * @return the write concern that was applied to the write operation
69+ * @deprecated there is no replacement for this method
6970 */
71+ @ Deprecated
7072 public WriteConcern getLastConcern (){
7173 return _lastConcern ;
7274
@@ -199,7 +201,7 @@ public Object getField( String name ){
199201 /**
200202 * Returns whether or not the result is lazy, meaning that getLastError was not called automatically
201203 * @return true if the result is lazy
202- * @deprecated Call {@code WriteResult.getLastConcern().isAcknowledged()} instead
204+ * @deprecated there is no replacement for this method
203205 */
204206 @ Deprecated
205207 public boolean isLazy (){
You can’t perform that action at this time.
0 commit comments