You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org> on 2009/05/05 16:18:30 UTC

[jira] Created: (UIMA-1342) Use @Deprecated annotation also

Use @Deprecated annotation also
-------------------------------

                 Key: UIMA-1342
                 URL: https://issues.apache.org/jira/browse/UIMA-1342
             Project: UIMA
          Issue Type: Improvement
            Reporter: Jörn Kottmann
            Assignee: Jörn Kottmann
            Priority: Trivial


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (UIMA-1342) Use @Deprecated annotation also

Posted by "Marshall Schor (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12749697#action_12749697 ] 

Marshall Schor commented on UIMA-1342:
--------------------------------------

Can this issue be closed?

> Use @Deprecated annotation also
> -------------------------------
>
>                 Key: UIMA-1342
>                 URL: https://issues.apache.org/jira/browse/UIMA-1342
>             Project: UIMA
>          Issue Type: Improvement
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>            Priority: Trivial
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (UIMA-1342) Use @Deprecated annotation also

Posted by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jörn Kottmann closed UIMA-1342.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3

> Use @Deprecated annotation also
> -------------------------------
>
>                 Key: UIMA-1342
>                 URL: https://issues.apache.org/jira/browse/UIMA-1342
>             Project: UIMA
>          Issue Type: Improvement
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>            Priority: Trivial
>             Fix For: 2.3
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (UIMA-1342) Use @Deprecated annotation also

Posted by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12749802#action_12749802 ] 

Jörn Kottmann commented on UIMA-1342:
-------------------------------------

Only did it fore uimaj-core up to now, but I can do it for the other code too today.

> Use @Deprecated annotation also
> -------------------------------
>
>                 Key: UIMA-1342
>                 URL: https://issues.apache.org/jira/browse/UIMA-1342
>             Project: UIMA
>          Issue Type: Improvement
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>            Priority: Trivial
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.