jmark99 opened a new pull request #2551:
URL: https://github.com/apache/accumulo/pull/2551


   The utility class, VerifyTabletAssignements, uses a TreeMap collection
   to hold HostAndPort values. This requires the HostAndPort class to
   implement the Comparable interface. This ticket adds the compareTo
   method to HostAndPort. Given that the utility is seldom used, the
   compareTo uses a simple compare on the Host portion and an integer
   compare on the Port if required.
   
   A HostAndPortTest class was added to verify changes.
   
   This was first found when running ErrorProne. The ErrorProne check for
   this condition had been disabled due to this issue. The check has now
   been re-enabled in the ErrorProne configuration within the POM file.


-- 
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.

To unsubscribe, e-mail: [email protected]

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


Reply via email to