public boolean equals()

in src/main/java/org/apache/sling/feature/cpconverter/accesscontrol/Mapping.java [119:133]


    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }

        if (obj == null || getClass() != obj.getClass()) {
            return false;
        }

        Mapping other = (Mapping) obj;
        return Objects.equals(serviceName, other.serviceName)
               && Objects.equals(subServiceName, other.subServiceName)
               && Objects.equals(userName, other.userName)
               && Objects.equals(principalNames, other.principalNames);
    }