public boolean equals()

in initializr-generator/src/main/java/io/spring/initializr/util/VersionRange.java [125:159]


	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null) {
			return false;
		}
		if (getClass() != obj.getClass()) {
			return false;
		}
		VersionRange other = (VersionRange) obj;
		if (this.higherInclusive != other.higherInclusive) {
			return false;
		}
		if (this.higherVersion == null) {
			if (other.higherVersion != null) {
				return false;
			}
		}
		else if (!this.higherVersion.equals(other.higherVersion)) {
			return false;
		}
		if (this.lowerInclusive != other.lowerInclusive) {
			return false;
		}
		if (this.lowerVersion == null) {
			if (other.lowerVersion != null) {
				return false;
			}
		}
		else if (!this.lowerVersion.equals(other.lowerVersion)) {
			return false;
		}
		return true;
	}