@Override
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof JavaSpecVersion )) {
            return false;
        }
        JavaSpecVersion other = (JavaSpecVersion) o;

        return Objects.equals(minor, other.minor);
    }
Convenience method for comparing versions

@param otherVersion a version to compare against
@return {@code true} if this version is newer, otherwise {@code false}
xmppserver/src/main/java/org/jivesoftware/util/JavaSpecVersion.java