Search in sources :

Example 6 with EqualsBuilder

use of org.apache.commons.lang.builder.EqualsBuilder in project POL-POM-5 by PlayOnLinux.

the class TeeRepository method equals.

@Override
public boolean equals(Object o) {
    if (this == o) {
        return true;
    }
    if (o == null || getClass() != o.getClass()) {
        return false;
    }
    TeeRepository that = (TeeRepository) o;
    EqualsBuilder builder = new EqualsBuilder();
    builder.append(leftRepository, that.leftRepository);
    builder.append(rightRepository, that.rightRepository);
    return builder.isEquals();
}
Also used : EqualsBuilder(org.apache.commons.lang.builder.EqualsBuilder)

Example 7 with EqualsBuilder

use of org.apache.commons.lang.builder.EqualsBuilder in project POL-POM-5 by PlayOnLinux.

the class FilterRepository method equals.

@Override
public boolean equals(Object o) {
    if (this == o) {
        return true;
    }
    if (o == null || getClass() != o.getClass()) {
        return false;
    }
    FilterRepository that = (FilterRepository) o;
    EqualsBuilder builder = new EqualsBuilder();
    builder.append(enforceIncompatibleOperatingSystems, that.enforceIncompatibleOperatingSystems);
    builder.append(repository, that.repository);
    builder.append(operatingSystemFetcher, that.operatingSystemFetcher);
    return builder.isEquals();
}
Also used : EqualsBuilder(org.apache.commons.lang.builder.EqualsBuilder)

Example 8 with EqualsBuilder

use of org.apache.commons.lang.builder.EqualsBuilder in project POL-POM-5 by PlayOnLinux.

the class GitRepository method equals.

@Override
public boolean equals(Object o) {
    if (this == o) {
        return true;
    }
    if (o == null || getClass() != o.getClass()) {
        return false;
    }
    GitRepository that = (GitRepository) o;
    EqualsBuilder builder = new EqualsBuilder();
    builder.append(gitRepositoryUri, that.gitRepositoryUri);
    builder.append(gitRepositoryLocation, that.gitRepositoryLocation);
    return builder.isEquals();
}
Also used : EqualsBuilder(org.apache.commons.lang.builder.EqualsBuilder)

Example 9 with EqualsBuilder

use of org.apache.commons.lang.builder.EqualsBuilder in project POL-POM-5 by PlayOnLinux.

the class CachedRepository method equals.

@Override
public boolean equals(Object o) {
    if (this == o) {
        return true;
    }
    if (o == null || getClass() != o.getClass()) {
        return false;
    }
    CachedRepository that = (CachedRepository) o;
    EqualsBuilder builder = new EqualsBuilder();
    builder.append(repository, that.repository);
    return builder.isEquals();
}
Also used : EqualsBuilder(org.apache.commons.lang.builder.EqualsBuilder)

Example 10 with EqualsBuilder

use of org.apache.commons.lang.builder.EqualsBuilder in project POL-POM-5 by PlayOnLinux.

the class ClasspathRepository method equals.

@Override
public boolean equals(Object o) {
    if (this == o) {
        return true;
    }
    if (o == null || getClass() != o.getClass()) {
        return false;
    }
    ClasspathRepository that = (ClasspathRepository) o;
    EqualsBuilder builder = new EqualsBuilder();
    builder.append(packagePath, that.packagePath);
    return builder.isEquals();
}
Also used : EqualsBuilder(org.apache.commons.lang.builder.EqualsBuilder)

Aggregations

EqualsBuilder (org.apache.commons.lang.builder.EqualsBuilder)26 ZooKeeper (org.apache.zookeeper.ZooKeeper)1