[prev in list] [next in list] [prev in thread] [next in thread]
List: lucene-dev
Subject: [jira] Commented: (LUCENE-2185) add @Deprecated annotations
From: "Robert Muir (JIRA)" <jira () apache ! org>
Date: 2009-12-30 16:24:29
Message-ID: 1688143434.1262190269576.JavaMail.jira () brutus ! apache ! org
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/LUCENE-2185?page=com.atlassian.jira.plugin \
.system.issuetabpanels:comment-tabpanel&focusedCommentId=12795342#action_12795342 ]
Robert Muir commented on LUCENE-2185:
-------------------------------------
Steven, yeah i know theoretically why this is here, but it is completely stupid.
@Deprecated is a gigantic mistake, requiring me to write it twice, once lowercase in \
the javadocs, once uppercase as an annotation. This is the only way to properly \
deprecate something with a message as to why.
and so this additional work buys me nothing, except some theoretical workaround to \
sun's piss-poor broken language design.
this being said, i still think we should be consistent: either remove all these \
annotations or add them all, and not just use them 'sometime'.
> add @Deprecated annotations
> ---------------------------
>
> Key: LUCENE-2185
> URL: https://issues.apache.org/jira/browse/LUCENE-2185
> Project: Lucene - Java
> Issue Type: Task
> Reporter: Robert Muir
> Priority: Trivial
> Fix For: 3.1
>
> Attachments: LUCENE-2185.patch
>
>
> as discussed on LUCENE-2084, I think we should be consistent about use of \
> @Deprecated annotations if we are to use it. This patch adds the missing \
> annotations... unfortunately i cannot commit this for some time, because my \
> internet connection does not support heavy committing (it is difficult to even \
> upload a large patch). So if someone wants to take it, have fun, otherwise in a \
> week or so I will commit it if nobody objects.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic