File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
driver-core/src/test/unit/com/mongodb/connection Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ public void testLogicalSessionTimeoutMinutes() {
264
264
.address (new ServerAddress ("loc:27018" ))
265
265
.build ()
266
266
));
267
- assertEquals (new Integer (5 ), description .getLogicalSessionTimeoutMinutes ());
267
+ assertEquals (Integer . valueOf (5 ), description .getLogicalSessionTimeoutMinutes ());
268
268
269
269
description = new ClusterDescription (MULTIPLE , REPLICA_SET , asList (
270
270
builder ().state (CONNECTED )
@@ -281,7 +281,7 @@ public void testLogicalSessionTimeoutMinutes() {
281
281
.address (new ServerAddress ("loc:27017" ))
282
282
.build ()
283
283
));
284
- assertEquals (new Integer (3 ), description .getLogicalSessionTimeoutMinutes ());
284
+ assertEquals (Integer . valueOf (3 ), description .getLogicalSessionTimeoutMinutes ());
285
285
286
286
description = new ClusterDescription (MULTIPLE , REPLICA_SET , asList (
287
287
builder ().state (CONNECTED )
@@ -298,7 +298,7 @@ public void testLogicalSessionTimeoutMinutes() {
298
298
.address (new ServerAddress ("loc:27017" ))
299
299
.build ()
300
300
));
301
- assertEquals (new Integer (3 ), description .getLogicalSessionTimeoutMinutes ());
301
+ assertEquals (Integer . valueOf (3 ), description .getLogicalSessionTimeoutMinutes ());
302
302
}
303
303
304
304
@ Test
You can’t perform that action at this time.
0 commit comments