code: private int compareToRevision(int currentResult, VersionIdentifier otherVersion) {
  
      return compareToLinear(currentResult, getRevision(), otherVersion.getRevision(), otherVersion);
    }
docs: This method performs the part of {@link #compareTo(VersionIdentifier)} for the {@link #getRevision()
  revision}.
  
  @param currentResult is the current result so far.
  @param otherVersion is the {@link VersionIdentifier} to compare to.
  @return the result of comparison.