db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6322) Remove erreoneous warning in NetBeans: superfluous use of super to access inherited member variable
Date Thu, 29 Aug 2013 10:54:53 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13753499#comment-13753499
] 

Knut Anders Hatlen commented on DERBY-6322:
-------------------------------------------

Might be a bug in NetBeans 7.4 beta. At least, I don't see the warning in the latest development
build of NetBeans. In any case, I think the suggested change is an improvement, as I'm not
very fond of prefixing fields with "super" unless there actually is an ambiguity. So +1 from
me.
                
> Remove erreoneous warning in NetBeans: superfluous use of super to access inherited member
variable
> ---------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-6322
>                 URL: https://issues.apache.org/jira/browse/DERBY-6322
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>            Reporter: Dag H. Wanvik
>            Assignee: Dag H. Wanvik
>            Priority: Minor
>         Attachments: derby-6322.diff
>
>
> This code in SortBufferScan makes NetBeans (7.4beta) issue a warning:
> return (super.current != null);
> "Incompatible types: boolean is not a functional interface <identifier expected>

> ; expected"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message