Uploaded image for project: 'infrautils'
  1. infrautils
  2. INFRAUTILS-86

Terminally deprecate UncheckedCloseable

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 2.0.7
    • utils, incl. inject
    • None

    Description

      UncheckedAutoCloseable narrows AutoCloseable.close() to not throw. There is a widely known duplicate, [Registration|https://www.javadoc.io/doc/org.opendaylight.yangtools/yangtools-docs/latest/org/opendaylight/yangtools/concepts/Registration.html,] which does the same thing. In addition to UncheckedAutoCloseable, it also provides a useful default implementation.

      Attachments

        Issue Links

          # Subject Branch Project Status CR V

          Activity

            People

              rovarga Robert Varga
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: