Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1836

Refactor towards JDK 1.7 enhancements

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Optional
    • 2.7.0.Final
    • 2.5.0.Final
    • None
    • None

    Description

      It has class that implements AutoCloseable, but we're still using finally to close streams and etc.

      We can use (eg):

      try (stream) {

      }

      and kill the finally block.

      Attachments

        Activity

          People

            danielcunha Daniel Cunha (soro) (Inactive)
            danielcunha Daniel Cunha (soro) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: