Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Javadoc to reflect that forward slash is optional #1421

Merged
merged 1 commit into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions driver-core/src/main/com/mongodb/ConnectionString.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@
* <li>{@code :portX} is optional and defaults to :27017 if not provided.</li>
* <li>{@code /database} is the name of the database to login to and thus is only relevant if the
* {@code username:password@} syntax is used. If not specified the "admin" database will be used by default.</li>
* <li>{@code ?options} are connection options. Note that if {@code database} is absent there is still a {@code /}
* required between the last host and the {@code ?} introducing the options. Options are name=value pairs and the pairs
* <li>{@code ?options} are connection options. Options are name=value pairs and the pairs
* are separated by "&amp;". For backwards compatibility, ";" is accepted as a separator in addition to "&amp;",
* but should be considered as deprecated.</li>
* </ul>
Expand All @@ -98,8 +97,7 @@
* seed list used to connect, as if each one were provided as host/port pair in a URI using the normal mongodb protocol.</li>
* <li>{@code /database} is the name of the database to login to and thus is only relevant if the
* {@code username:password@} syntax is used. If not specified the "admin" database will be used by default.</li>
* <li>{@code ?options} are connection options. Note that if {@code database} is absent there is still a {@code /}
* required between the last host and the {@code ?} introducing the options. Options are name=value pairs and the pairs
* <li>{@code ?options} are connection options. Options are name=value pairs and the pairs
* are separated by "&amp;". For backwards compatibility, ";" is accepted as a separator in addition to "&amp;",
* but should be considered as deprecated. Additionally with the mongodb+srv protocol, TXT records are looked up from a Domain Name
* Server for the given host, and the text value of each one is prepended to any options on the URI itself. Because the last specified
Expand Down
6 changes: 2 additions & 4 deletions driver-legacy/src/main/com/mongodb/MongoClientURI.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@
* <li>{@code :portX} is optional and defaults to :27017 if not provided.</li>
* <li>{@code /database} is the name of the database to login to and thus is only relevant if the
* {@code username:password@} syntax is used. If not specified the "admin" database will be used by default.</li>
* <li>{@code ?options} are connection options. Note that if {@code database} is absent there is still a {@code /}
* required between the last host and the {@code ?} introducing the options. Options are name=value pairs and the pairs
* <li>{@code ?options} are connection options. Options are name=value pairs and the pairs
* are separated by "&amp;". For backwards compatibility, ";" is accepted as a separator in addition to "&amp;",
* but should be considered as deprecated.</li>
* </ul>
Expand All @@ -62,8 +61,7 @@
* seed list used to connect, as if each one were provided as host/port pair in a URI using the normal mongodb protocol.</li>
* <li>{@code /database} is the name of the database to login to and thus is only relevant if the
* {@code username:password@} syntax is used. If not specified the "admin" database will be used by default.</li>
* <li>{@code ?options} are connection options. Note that if {@code database} is absent there is still a {@code /}
* required between the last host and the {@code ?} introducing the options. Options are name=value pairs and the pairs
* <li>{@code ?options} are connection options. Options are name=value pairs and the pairs
* are separated by "&amp;". For backwards compatibility, ";" is accepted as a separator in addition to "&amp;",
* but should be considered as deprecated. Additionally with the mongodb+srv protocol, TXT records are looked up from a Domain Name
* Server for the given host, and the text value of each one is prepended to any options on the URI itself. Because the last specified
Expand Down