Lucene - Core
  1. Lucene - Core
  2. LUCENE-1945

Make all classes that have a close() methods instanceof Closeable (Java 1.5)

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 3.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      This should be simple.

      1. LUCENE-1945.patch
        11 kB
        Uwe Schindler

        Activity

        Hide
        Uwe Schindler added a comment -

        Patch that adds Closeable to all public interfaces/super-classes that define close(). Package-private classes inside oal.index are not changed (as they often only define package-private close())

        Will commit soon.

        Show
        Uwe Schindler added a comment - Patch that adds Closeable to all public interfaces/super-classes that define close(). Package-private classes inside oal.index are not changed (as they often only define package-private close()) Will commit soon.
        Hide
        Uwe Schindler added a comment -

        Committed revision: 826540

        Show
        Uwe Schindler added a comment - Committed revision: 826540
        Hide
        Earwin Burrfoot added a comment -

        Package-private classes might as well implement public close(), nobody's gonna see this method from outside anyway.

        Show
        Earwin Burrfoot added a comment - Package-private classes might as well implement public close(), nobody's gonna see this method from outside anyway.

          People

          • Assignee:
            Uwe Schindler
            Reporter:
            Uwe Schindler
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development