Skip to content

Commit 7d58b4c

Browse files
committed
spacing
1 parent 30c9e36 commit 7d58b4c

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

source/upgrade.txt

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -61,25 +61,21 @@ the version after v4.0 including any listed under v4.5.
6161
Version 5.0 Breaking Changes
6262
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6363

64-
<<<<<<< HEAD
6564
- This driver version introduces the following changes to the ``ConnectionId`` class:
6665

6766
- The ``ConnectionId`` constructor now accepts a value of type ``long`` as its second
6867
parameter instead of type ``int``. Similarly, the constructor now accepts a value of
6968
type ``Long`` as its third parameter instead of type ``Integer``. Because this change breaks
7069
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)
7470

7571
- 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.
8379

8480
- The ``getServerValue()`` method now returns a value of type ``Long`` instead of type
8581
``Integer``. Similarly, the ``getLocalValue()`` method returns a value of type
@@ -151,7 +147,7 @@ This driver version introduces the following breaking changes:
151147

152148
ClusterSettings.builder()
153149
.hosts(Collections.singletonList(
154-
new ServerAddress("127.0.0.1", 27017)
150+
new ServerAddress("127.0.0.1", 27017)
155151
))
156152
.requiredReplicaSetName("replset")
157153
.build()

0 commit comments

Comments
 (0)