Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-2385

Sqoop2: refactor code in HandlerUtils

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • no-release
    • None
    • None

    Description

      In HandlerUtils, there is code like this:

       if (repository.findJob(identifier) != null) {
            jobId = repository.findJob(identifier).getPersistenceId();
            ...
       }
      

      This will execute repository.findJob twice, this is unnecessary.

      Attachments

        Activity

          People

            dian.fu Dian Fu
            dian.fu Dian Fu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: