@@ -61,25 +61,21 @@ the version after v4.0 including any listed under v4.5.
61
61
Version 5.0 Breaking Changes
62
62
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63
63
64
- <<<<<<< HEAD
65
64
- This driver version introduces the following changes to the ``ConnectionId`` class:
66
65
67
66
- The ``ConnectionId`` constructor now accepts a value of type ``long`` as its second
68
67
parameter instead of type ``int``. Similarly, the constructor now accepts a value of
69
68
type ``Long`` as its third parameter instead of type ``Integer``. Because this change breaks
70
69
binary compatibility, recompile any existing code that calls the ``ConnectionId`` constructor.
71
- =======
72
- This driver version introduces the following breaking changes:
73
- >>>>>>> 5700e72 (rm/cc feedback)
74
70
75
71
- Changes the data type of the timeout duration parameter in the
76
- ``SocketSettings.Builder.connectTimeout()`` and ``SocketSettings.Builder.readTimeout()``
77
- methods. The data type of this parameter is now ``long`` instead of ``int``.
78
- To view an
79
- example that shows how to instantiate a ``SocketSettings`` instance by using
80
- these methods, see the :ref:`SocketSettings Example
81
- <java-socketsettings-example>` in the Specify MongoClient Settings
82
- guide .
72
+ ``SocketSettings.Builder.connectTimeout()`` and
73
+ ``SocketSettings.Builder.readTimeout()`` methods. The data type of this
74
+ parameter is now ``long`` instead of ``int``. To view an example that shows
75
+ how to call ``SocketSettings`` methods, see the :ref:`SocketSettings Example
76
+ <java-socketsettings-example>` in the Specify MongoClient Settings guide. This
77
+ change breaks binary compatibility (requires recompiling) but does not require
78
+ code changes .
83
79
84
80
- The ``getServerValue()`` method now returns a value of type ``Long`` instead of type
85
81
``Integer``. Similarly, the ``getLocalValue()`` method returns a value of type
@@ -151,7 +147,7 @@ This driver version introduces the following breaking changes:
151
147
152
148
ClusterSettings.builder()
153
149
.hosts(Collections.singletonList(
154
- new ServerAddress("127.0.0.1", 27017)
150
+ new ServerAddress("127.0.0.1", 27017)
155
151
))
156
152
.requiredReplicaSetName("replset")
157
153
.build()
0 commit comments