Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-358

final classes like Document prevent simple tests and extensions

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Incomplete
    • 1.4
    • None
    • core/other
    • None
    • Operating System: Linux
      Platform: PC

    • 33877

    Description

      Classes like Document or Field are final what make more complicate to write
      junit tests for custom utility methods or to write custom extensions. Why are
      these classes final? Wouldn't it be better for instance if Document would be an
      interface?

      Attachments

        Activity

          People

            java-dev@lucene.apache.org Lucene Developers
            mguillemot@yahoo.fr Marc Guillemot
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: