public boolean equals()

in services/settings-service/src/main/java/com/amazon/aws/partners/saasfactory/saasboost/Setting.java [81:102]


    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        // Same reference?
        if (this == obj) {
            return true;
        }
        // Same type?
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Setting other = (Setting) obj;
        return (
                ((name == null && other.name == null) || (name != null && name.equals(other.name))) // Parameter Store is case sensitive
                && ((value == null && other.value == null) || (value != null && value.equals(other.value)))
                && ((description == null && other.description == null) || (description != null && description.equalsIgnoreCase(other.description)))
                && ((version == null && other.version == null) || (version != null && version.equals(other.version)))
                && (readOnly == other.readOnly)
                && (secure == other.secure)
        );
    }