Uploaded image for project: 'Metron (Retired)'
  1. Metron (Retired)
  2. METRON-725

Javadoc is broken by the use of apiNote

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Minor
    • Resolution: Done
    • None
    • 0.3.1
    • None

    Description

      Error seen:

      >mvn javadoc:javadoc
      ...
      [ERROR] /Users/jleet/Documents/workspace/incubator-metron/metron-platform/metron-common/src/main/java/org/apache/metron/common/utils/file/ReaderSpliterator.java:127: error: unknown tag: apiNote
      ...
      

      @apiNote doesn't work by default when generating Javadocs. Apparently, it's intended to be language level information rather than a widely adopted tag.

      This only shows up in ReaderSpliterator, in docs copied directly from the language construct. Given that all these methods are @Override, it seems reasonable to just drop the docs entirely, given that they inherit anyway.

      If desired, we could explicitly inherit the parent docs.

      Finally, we could enable the use of @apiNote, but given the intended usage and our copied use, I'm inclined to just change our code directly.

      Attachments

        Issue Links

          Activity

            People

              justinleet Justin Leet
              justinleet Justin Leet
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: