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

Terminally deprecate UncheckedCloseable

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: