File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
driver/src/main/java/org/neo4j/driver/internal/util Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public class ServerVersion
32
32
public static final ServerVersion v3_2_0 = new ServerVersion ( 3 , 2 , 0 );
33
33
public static final ServerVersion v3_1_0 = new ServerVersion ( 3 , 1 , 0 );
34
34
public static final ServerVersion v3_0_0 = new ServerVersion ( 3 , 0 , 0 );
35
- public static final ServerVersion vInDev = new ServerVersion ( 0 , 0 , 0 );
35
+ public static final ServerVersion vInDev = new ServerVersion ( Integer . MAX_VALUE , Integer . MAX_VALUE , Integer . MAX_VALUE );
36
36
37
37
private static final String NEO4J_IN_DEV_VERSION_STRING = "Neo4j/dev" ;
38
38
private static final Pattern PATTERN =
@@ -161,7 +161,7 @@ public String toString()
161
161
162
162
private static String stringValue ( int major , int minor , int patch )
163
163
{
164
- if ( major == 0 && minor == 0 && patch == 0 )
164
+ if ( major == Integer . MAX_VALUE && minor == Integer . MAX_VALUE && patch == Integer . MAX_VALUE )
165
165
{
166
166
return NEO4J_IN_DEV_VERSION_STRING ;
167
167
}
You can’t perform that action at this time.
0 commit comments