Feature Requests item #1762845, was opened at 2007-07-28 20:50
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397081&aid=1762845&group_id=29721
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Check
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Albert Strasheim (albertstrasheim)
Assigned to: Nobody/Anonymous (nobody)
Summary: Don't warn for non-final parameters of native methods
Initial Comment:
With the "Final Parameters" check turned on, the following method declaration:
private native void foo(int bar);
generates a warning
Parameter bar should be final
As far as I can figure, having final here serves no useful purpose here. This
is similar to the abstract method case, which doesn't generate a warning:
protected abstract void bar(int baz);
I'm using version 4.3.2 of the Checkstyle plug-in in Eclipse.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397081&aid=1762845&group_id=29721
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
|