Lucene - Core
  1. Lucene - Core
  2. LUCENE-358

final classes like Document prevent simple tests and extensions

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Incomplete
    • Affects Version/s: 1.4
    • Fix Version/s: None
    • Component/s: core/other
    • Labels:
      None
    • Environment:

      Operating System: Linux
      Platform: PC

      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?

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Resolved Resolved Closed Closed
        445d 3h 10m 1 Doug Cutting 27/May/06 02:38
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12562094 ] jira [ 12583116 ]
        Mark Thomas made changes -
        Workflow jira [ 12324513 ] Default workflow, editable Closed status [ 12562094 ]
        Doug Cutting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jeff Turner made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 33877 12314508
        Hide
        Erik Hatcher added a comment -

        Please bring questions to the java-dev@lucene.apache.org e-mail list (subscribe first, if you aren't
        already on it). Bugzilla is for issues. The scope of these classes has been discussed numerous times.
        Please bring an example to the list that shows the scope getting in your way.

        Show
        Erik Hatcher added a comment - Please bring questions to the java-dev@lucene.apache.org e-mail list (subscribe first, if you aren't already on it). Bugzilla is for issues. The scope of these classes has been discussed numerous times. Please bring an example to the list that shows the scope getting in your way.
        Marc Guillemot created issue -

          People

          • Assignee:
            Lucene Developers
            Reporter:
            Marc Guillemot
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development