public boolean equals()

in src/main/java/org/apache/openwhisk/intellij/common/whisk/model/exec/CodeExec.java [98:110]


    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;

        CodeExec codeExec = (CodeExec) o;

        if (kind != null ? !kind.equals(codeExec.kind) : codeExec.kind != null) return false;
        if (main != null ? !main.equals(codeExec.main) : codeExec.main != null) return false;
        if (code != null ? !code.equals(codeExec.code) : codeExec.code != null) return false;
        if (image != null ? !image.equals(codeExec.image) : codeExec.image != null) return false;
        return components != null ? components.equals(codeExec.components) : codeExec.components == null;
    }