Skip to content

Commit e1f1188

Browse files
committed
Removed redundant code
1 parent 4289c65 commit e1f1188

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

driver/src/main/java/org/neo4j/driver/internal/InternalResultCursor.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,6 @@ else if ( position == 0 || ( position == -1 && next() ) )
463463
public ResultSummary summarize()
464464
{
465465
while ( next() ) ;
466-
discard();
467466
return summary;
468467
}
469468

@@ -501,7 +500,6 @@ private void discard()
501500
while ( !done )
502501
{
503502
receiveOne();
504-
recordBuffer.clear();
505503
}
506504
}
507505

driver/src/test/java/org/neo4j/driver/v1/integration/ConnectionPoolIT.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ public void run()
109109
}
110110
catch ( ClientException | DatabaseException e )
111111
{
112+
e.printStackTrace(System.err);
112113
lastExceptionFromDriver = e;
113114
sessionsAreAvailable = false;
114115
}

0 commit comments

Comments
 (0)