You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Jarek Jarcec Cecho (JIRA)" <ji...@apache.org> on 2015/09/30 00:46:04 UTC

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

     [ https://issues.apache.org/jira/browse/SQOOP-2590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Jarcec Cecho updated SQOOP-2590:
--------------------------------------
    Fix Version/s: 1.99.7

> 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
>             Fix For: 1.99.7
>
>
> 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)