Skip to content

Commit ab31bbf

Browse files
author
Justin Lee
committed
clean up
1 parent 83cfd1f commit ab31bbf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

driver/src/main/com/mongodb/WriteResult.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
/**
2121
* This class lets you access the results of the previous acknowledged write. If the write was unacknowledged, all property access
22-
* methods will throw {@link java.lang.UnsupportedOperationException}.
22+
* methods will throw {@link UnsupportedOperationException}.
2323
*
2424
* @see WriteConcern#UNACKNOWLEDGED
2525
*/
@@ -65,7 +65,7 @@ public WriteResult(final int n, final boolean updateOfExisting, final Object ups
6565
* Returns true if the write was acknowledged.
6666
*
6767
* @return true if the write was acknowledged
68-
* @see com.mongodb.WriteConcern#UNACKNOWLEDGED
68+
* @see WriteConcern#UNACKNOWLEDGED
6969
* @since 3.0
7070
*/
7171
public boolean wasAcknowledged() {
@@ -76,7 +76,7 @@ public boolean wasAcknowledged() {
7676
* Gets the "n" field, which contains the number of documents affected in the write operation.
7777
*
7878
* @return the value of the "n" field
79-
* @throws java.lang.UnsupportedOperationException if the write was unacknowledged
79+
* @throws UnsupportedOperationException if the write was unacknowledged
8080
* @see WriteConcern#UNACKNOWLEDGED
8181
*/
8282
public int getN() {
@@ -89,7 +89,7 @@ public int getN() {
8989
* this method will return null unless the _id of the upserted document was of type ObjectId.
9090
*
9191
* @return the value of the _id of an upserted document
92-
* @throws java.lang.UnsupportedOperationException if the write was unacknowledged
92+
* @throws UnsupportedOperationException if the write was unacknowledged
9393
* @since 2.12
9494
*/
9595
public Object getUpsertedId() {
@@ -102,7 +102,7 @@ public Object getUpsertedId() {
102102
* Returns true if this write resulted in an update of an existing document.
103103
*
104104
* @return whether the write resulted in an update of an existing document.
105-
* @throws java.lang.UnsupportedOperationException if the write was unacknowledged
105+
* @throws UnsupportedOperationException if the write was unacknowledged
106106
* @since 2.12
107107
*/
108108
public boolean isUpdateOfExisting() {
@@ -114,7 +114,7 @@ public boolean isUpdateOfExisting() {
114114
public String toString() {
115115
if (acknowledged) {
116116
return "WriteResult{"
117-
+ ", n=" + n
117+
+ "n=" + n
118118
+ ", updateOfExisting=" + updateOfExisting
119119
+ ", upsertedId=" + upsertedId
120120
+ '}';

0 commit comments

Comments
 (0)