Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2975

code clean up in pig sharelib, replace Exception with more explicit, add try with resources, StringBuilder instead of StringBuffer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Invalid
    • None
    • 5.1.0
    • None

    Description

      1. Replaced StringBuffer with StringBuilder
      2. Replaced Exception with IOException and ExecException
      3. Replaced old Hashmap notation with diamond notation
      4. Added try-with-resources notation

      Attachments

        1. OOZIE-2975-0.patch
          12 kB
          Artem Ervits

        Activity

          People

            dbist13 Artem Ervits
            dbist13 Artem Ervits
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: