Bill commented on a change in pull request #5273:
URL: https://github.com/apache/geode/pull/5273#discussion_r442452067



##########
File path: 
geode-serialization/src/main/java/org/apache/geode/internal/serialization/Version.java
##########
@@ -635,48 +569,4 @@ public boolean isPre65() {
         .collect(Collectors.toList());
   }
 
-  public boolean isCurrentVersion() {
-    return this.ordinal == CURRENT.ordinal;
-  }

Review comment:
       this was used in exactly two places and is better accomplished via 
`Version.CURRENT.isEqual(someVersionOrdinal)`




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to