private int compareTo(final short other) {
    // short min/max can't overflow int, so use (a-b)
    final int thisOrdinal = ordinal();
    final int otherOrdinal = other;
    return thisOrdinal - otherOrdinal;
  }
Test if this version is not newer than given version.

@param version to compare to this version
@return true if this is the same version or older, otherwise false.
geode-serialization/src/main/java/org/apache/geode/internal/serialization/AbstractVersion.java