You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Abraham Fine (JIRA)" <ji...@apache.org> on 2015/09/29 18:35:04 UTC

[jira] [Created] (SQOOP-2590) Sqoop2: Equals operator abuse in MInputs

Abraham Fine created SQOOP-2590:
-----------------------------------

             Summary: Sqoop2: Equals operator abuse in MInputs
                 Key: SQOOP-2590
                 URL: https://issues.apache.org/jira/browse/SQOOP-2590
             Project: Sqoop
          Issue Type: Bug
            Reporter: Abraham Fine
            Priority: Minor


Currently the equals operator (=) for MInput objects is being used to compare the structure of two MInput objects but not their values. While this definition of "equals" is useful in the Repository, it makes it difficult for us to perform true comparisons between two MInput objects and may hide bugs in tests.

Perhaps the current definition of equals should be renamed to something like `equivalentStructure` and we should implement true equality for the equals operator.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)