sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dian Fu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SQOOP-2385) Sqoop2: refactor code in HandlerUtils
Date Tue, 02 Jun 2015 08:30:22 GMT
Dian Fu created SQOOP-2385:
------------------------------

             Summary: Sqoop2: refactor code in HandlerUtils
                 Key: SQOOP-2385
                 URL: https://issues.apache.org/jira/browse/SQOOP-2385
             Project: Sqoop
          Issue Type: Bug
            Reporter: Dian Fu
            Assignee: Dian Fu


In {{HandlerUtils}}, there is code like this:
{code}
 if (repository.findJob(identifier) != null) {
      jobId = repository.findJob(identifier).getPersistenceId();
      ...
 }
{code}
This will execute {{repository.findJob}} twice, this is unnecessary.



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

Mime
View raw message