It actually checks all the implementations as well and reports an error only
if no one uses a parameter. I agree that IDEA should not report unused
interface method parameters if that method has no any implementation. Check
this please in build #613. Thanks for your report!

Best regards,
Maxim Shafirov
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 22, 2002 2:33 PM
Subject: [Eap-list] Bug in Inspect Code,Unused Parameters in #612 on
interfaces


Hi All,

Suggest I have the following interface

public interface Foo {
        public String findAll(String sessionInfo, String accountId);
}

Inspect Code will return the following

Name:
public method String findAll(String sessionInfo, String accountId)
Location: interface Foo (default package)
Problem synopsis:
Following parameters are not used: sessionInfo, accountId.


Should Inspect Code check interfaces on Unused Parameters?


Jan



Visit us at http://www.clearstream.com

IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of this
message.

The information contained in this e-mail is confidential and may be legally
privileged. It is intended solely for the addressee. If you are not the
intended recipient, any disclosure, copying, distribution or any action
taken or omitted to be taken in reliance on it, is prohibited and may be
unlawful. Any views expressed in this e-mail are those of the individual
sender, except where the sender specifically states them to be the views of
Clearstream International or of any of its affiliates or subsidiaries.

END OF DISCLAIMER

_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to