Details
-
New Feature
-
Resolution: Won't Fix
-
Minor - P4
-
None
-
None
-
None
Description
Hello,
Add a constructor that creates a ServerAddress with default host (127.0.0.1)
/** |
* Creates a ServerAddress with default host
|
*
|
* @param port mongod port
|
*/
|
public ServerAddress(final int port) { this(defaultHost(), port); } |
Usage :
new ServerAddress(27018); |
Farès