public boolean equals()

in services/settings-service/src/main/java/com/amazon/aws/partners/saasfactory/saasboost/SharedFilesystem.java [59:78]


    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 SharedFilesystem other = (SharedFilesystem) obj;
        return (
                ((fileSystemType == null && other.fileSystemType == null) || (fileSystemType != null && fileSystemType.equals(other.fileSystemType)))
                && ((mountPoint == null && other.mountPoint == null) || (mountPoint != null && mountPoint.equals(other.mountPoint)))
                && ((fsx == null && other.fsx == null) || (fsx != null && fsx.equals(other.fsx)))
                && ((efs == null && other.efs == null) || (efs != null && efs.equals(other.efs)))
        );
    }