We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 537c102 commit 6311523Copy full SHA for 6311523
driver/src/main/java/org/neo4j/driver/internal/messaging/BoltProtocolVersion.java
@@ -59,11 +59,11 @@ public int toIntRange(BoltProtocolVersion minVersion)
59
{
60
if(majorVersion != minVersion.majorVersion)
61
62
- throw new IllegalArgumentException( "Versions should be from the same version" );
+ throw new IllegalArgumentException( "Versions should be from the same major version" );
63
}
64
else if (minorVersion < minVersion.minorVersion)
65
66
- throw new IllegalArgumentException("Max version should be newest than min version");
+ throw new IllegalArgumentException("Max version should be newer than min version");
67
68
int range = minorVersion - minVersion.minorVersion;
69
int shiftedRange = range << 16;
0 commit comments