Skip to content

Commit 561d7f2

Browse files
author
Zhen
committed
Fix enum name
1 parent 42cfee8 commit 561d7f2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

driver/src/main/java/org/neo4j/driver/internal/metrics/InternalConnectionPoolMetrics.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,11 @@ public PoolStatus poolStatus()
126126
{
127127
if ( pool.isOpen( address ) )
128128
{
129-
return PoolStatus.Open;
129+
return PoolStatus.OPEN;
130130
}
131131
else
132132
{
133-
return PoolStatus.Closed;
133+
return PoolStatus.CLOSED;
134134
}
135135
}
136136

driver/src/main/java/org/neo4j/driver/internal/metrics/spi/PoolStatus.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
public enum PoolStatus
2222
{
23-
Open( 0 ),
24-
Closed( 1 );
23+
OPEN( 0 ),
24+
CLOSED( 1 );
2525

2626
private final int value;
2727

0 commit comments

Comments
 (0)