You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2010/09/08 23:31:33 UTC
[jira] Created: (HBASE-2972) remove all inappropriate @Override
decorators
remove all inappropriate @Override decorators
---------------------------------------------
Key: HBASE-2972
URL: https://issues.apache.org/jira/browse/HBASE-2972
Project: HBase
Issue Type: Improvement
Reporter: Andrew Purtell
Assignee: Andrew Purtell
Priority: Minor
Fix For: 0.20.7, 0.90.0
Attachments: HBASE-2972-0.20.patch, HBASE-2972-trunk.patch
Red Hat's version of Eclipse barfs all over the place on HBase code. The problem is technically inappropriate use of the @Override decorator. See http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Override.html. Should only be used when a method declaration is intended to override a method declaration in a superclass, NOT an interface.
Attached janitorial patches removes all inappropriate @Override decorators on interface methods on trunk and 0.20 branch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HBASE-2972) remove all inappropriate @Override
decorators
Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-2972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Purtell updated HBASE-2972:
----------------------------------
Attachment: HBASE-2972-trunk.patch
HBASE-2972-0.20.patch
> remove all inappropriate @Override decorators
> ---------------------------------------------
>
> Key: HBASE-2972
> URL: https://issues.apache.org/jira/browse/HBASE-2972
> Project: HBase
> Issue Type: Improvement
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Priority: Minor
> Fix For: 0.20.7, 0.90.0
>
> Attachments: HBASE-2972-0.20.patch, HBASE-2972-trunk.patch
>
>
> Red Hat's version of Eclipse barfs all over the place on HBase code. The problem is technically inappropriate use of the @Override decorator. See http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Override.html. Should only be used when a method declaration is intended to override a method declaration in a superclass, NOT an interface.
> Attached janitorial patches removes all inappropriate @Override decorators on interface methods on trunk and 0.20 branch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-2972) remove all inappropriate @Override
decorators
Posted by "Jonathan Gray (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-2972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907491#action_12907491 ]
Jonathan Gray commented on HBASE-2972:
--------------------------------------
I recall previously on linux versions of eclipse having to separately set the enforced jdk version in addition to the one used to build, something like that.
> remove all inappropriate @Override decorators
> ---------------------------------------------
>
> Key: HBASE-2972
> URL: https://issues.apache.org/jira/browse/HBASE-2972
> Project: HBase
> Issue Type: Improvement
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Priority: Minor
> Fix For: 0.20.7, 0.90.0
>
> Attachments: HBASE-2972-0.20.patch, HBASE-2972-trunk.patch
>
>
> Red Hat's version of Eclipse barfs all over the place on HBase code. The problem is technically inappropriate use of the @Override decorator. See http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Override.html. Should only be used when a method declaration is intended to override a method declaration in a superclass, NOT an interface.
> Attached janitorial patches removes all inappropriate @Override decorators on interface methods on trunk and 0.20 branch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-2972) remove all inappropriate @Override
decorators
Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-2972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907490#action_12907490 ]
Andrew Purtell commented on HBASE-2972:
---------------------------------------
That's fine. I'm not sure what is up with the version of Eclipse bundled with CentOS 5.5. Anyway, closing as invalid.
> remove all inappropriate @Override decorators
> ---------------------------------------------
>
> Key: HBASE-2972
> URL: https://issues.apache.org/jira/browse/HBASE-2972
> Project: HBase
> Issue Type: Improvement
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Priority: Minor
> Fix For: 0.20.7, 0.90.0
>
> Attachments: HBASE-2972-0.20.patch, HBASE-2972-trunk.patch
>
>
> Red Hat's version of Eclipse barfs all over the place on HBase code. The problem is technically inappropriate use of the @Override decorator. See http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Override.html. Should only be used when a method declaration is intended to override a method declaration in a superclass, NOT an interface.
> Attached janitorial patches removes all inappropriate @Override decorators on interface methods on trunk and 0.20 branch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HBASE-2972) remove all inappropriate @Override
decorators
Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-2972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Purtell resolved HBASE-2972.
-----------------------------------
Resolution: Invalid
> remove all inappropriate @Override decorators
> ---------------------------------------------
>
> Key: HBASE-2972
> URL: https://issues.apache.org/jira/browse/HBASE-2972
> Project: HBase
> Issue Type: Improvement
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Priority: Minor
> Fix For: 0.20.7, 0.90.0
>
> Attachments: HBASE-2972-0.20.patch, HBASE-2972-trunk.patch
>
>
> Red Hat's version of Eclipse barfs all over the place on HBase code. The problem is technically inappropriate use of the @Override decorator. See http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Override.html. Should only be used when a method declaration is intended to override a method declaration in a superclass, NOT an interface.
> Attached janitorial patches removes all inappropriate @Override decorators on interface methods on trunk and 0.20 branch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-2972) remove all inappropriate @Override
decorators
Posted by "Lars Francke (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-2972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907483#action_12907483 ]
Lars Francke commented on HBASE-2972:
-------------------------------------
I'm with Jonathan here: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5008260
The Javadoc is wrong and should be fixed in a future release.
> remove all inappropriate @Override decorators
> ---------------------------------------------
>
> Key: HBASE-2972
> URL: https://issues.apache.org/jira/browse/HBASE-2972
> Project: HBase
> Issue Type: Improvement
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Priority: Minor
> Fix For: 0.20.7, 0.90.0
>
> Attachments: HBASE-2972-0.20.patch, HBASE-2972-trunk.patch
>
>
> Red Hat's version of Eclipse barfs all over the place on HBase code. The problem is technically inappropriate use of the @Override decorator. See http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Override.html. Should only be used when a method declaration is intended to override a method declaration in a superclass, NOT an interface.
> Attached janitorial patches removes all inappropriate @Override decorators on interface methods on trunk and 0.20 branch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-2972) remove all inappropriate @Override
decorators
Posted by "Jonathan Gray (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-2972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907474#action_12907474 ]
Jonathan Gray commented on HBASE-2972:
--------------------------------------
I thought in java6 that @Override could now be used with interfaces. I find it an extremely useful annotation and my eclipse generates the @override when it auto-creates a class that implements an interface.
http://blogs.sun.com/ahe/entry/override_snafu
Is your redhat eclipse doing java5 verification?
> remove all inappropriate @Override decorators
> ---------------------------------------------
>
> Key: HBASE-2972
> URL: https://issues.apache.org/jira/browse/HBASE-2972
> Project: HBase
> Issue Type: Improvement
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Priority: Minor
> Fix For: 0.20.7, 0.90.0
>
> Attachments: HBASE-2972-0.20.patch, HBASE-2972-trunk.patch
>
>
> Red Hat's version of Eclipse barfs all over the place on HBase code. The problem is technically inappropriate use of the @Override decorator. See http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Override.html. Should only be used when a method declaration is intended to override a method declaration in a superclass, NOT an interface.
> Attached janitorial patches removes all inappropriate @Override decorators on interface methods on trunk and 0.20 branch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.