Details

      Description

      Java 7 introduced a "try-with-resources" statement that automatically calls the "close()" method for resources that implement the (new) AutoCloseable interface, which includes most/all I/O related objects, and more. Pivot could benefit internally with more readable / maintainable code using this construct. Since Java 7 is now required for the 2.1 (and later) releases, this is a reasonable step to upgrade the code internally (see PIVOT-895).

        Attachments

        1. resources.diffs
          21 kB
          Roger Whitcomb

          Issue Links

            Activity

              People

              • Assignee:
                rwhitcomb Roger Whitcomb
                Reporter:
                rwhitcomb Roger Whitcomb
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: