Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-1342

Use @Deprecated annotation also

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 2.3
    • None
    • None

    Description

      Currently only the @deprecated javadoc tag is used to indicate deprecation, but it is not guaranteed to issue a compiler warning in client code, though the sun java compiler does it. To fix it we can just add the @Deprecate annotation additional which is specified to issue a compiler warning and is supported since java 1.5.

      I suggest that we use the eclipse code clean up tool to do it once for all code in our repository.

      For further information see:
      http://java.sun.com/j2se/1.5.0/docs/guide/javadoc/deprecation/deprecation.html

      Attachments

        Activity

          People

            joern Jörn Kottmann
            joern Jörn Kottmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: