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

        return Objects.equals(major, other.major)
                && Objects.equals(minor, other.minor)
                && Objects.equals(micro, other.micro)
                && Objects.equals(statusVersion, other.statusVersion)
                && Objects.equals(status, other.status);
    }
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/Version.java