Skip to content

Commit cac1bed

Browse files
author
Trisha Gee
committed
Merge pull request mongodb#137 from jonjonsonjr/patch-1
Javadoc improvements always welcome!
2 parents b2c60ff + fbfc150 commit cac1bed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/com/mongodb/DB.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ public boolean isAuthenticated() {
629629
}
630630

631631
/**
632-
* Authenticates to db with the given credentials. If this method (or {@code authenticateCommand} has already been
632+
* Authenticates to db with the given credentials. If this method (or {@code authenticateCommand}) has already been
633633
* called with the same credentials and the authentication test succeeded, this method will return {@code true}. If this method
634634
* has already been called with different credentials and the authentication test succeeded,
635635
* this method will throw an {@code IllegalStateException}. If this method has already been called with any credentials
@@ -652,7 +652,7 @@ public boolean authenticate(String username, char[] password) {
652652
}
653653

654654
/**
655-
* Authenticates to db with the given credentials. If this method (or {@code authenticate} has already been
655+
* Authenticates to db with the given credentials. If this method (or {@code authenticate}) has already been
656656
* called with the same credentials and the authentication test succeeded, this method will return true. If this method
657657
* has already been called with different credentials and the authentication test succeeded,
658658
* this method will throw an {@code IllegalStateException}. If this method has already been called with any credentials

0 commit comments

Comments
 (0)