File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
driver/src/main/java/org/neo4j/driver/internal/async Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -144,16 +144,16 @@ public CompletionStage<UnmanagedTransaction> beginAsync( Bookmark initialBookmar
144
144
{
145
145
if ( beginError instanceof AuthorizationExpiredException )
146
146
{
147
- connection .terminateAndRelease ( AuthorizationExpiredException .DESCRIPTION );
148
- }
149
- else
150
- {
151
- connection .release ();
152
- }
153
- throw Futures .asCompletionException ( beginError );
154
- }
155
- return this ;
156
- } );
147
+ connection .terminateAndRelease ( AuthorizationExpiredException .DESCRIPTION );
148
+ }
149
+ else
150
+ {
151
+ connection .release ();
152
+ }
153
+ throw Futures .asCompletionException ( beginError );
154
+ }
155
+ return this ;
156
+ } );
157
157
}
158
158
159
159
public CompletionStage <Void > closeAsync ()
You can’t perform that action at this time.
0 commit comments