<No Comment Entered>
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@550 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -10,4 +10,6 @@ class UnusedFormalParam1 {
|
||||
private void t2(){
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
11
pmd/test-data/UnusedFormalParam2.java
Normal file
11
pmd/test-data/UnusedFormalParam2.java
Normal file
@ -0,0 +1,11 @@
|
||||
class UnusedFormalParam2 {
|
||||
private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
|
||||
{
|
||||
String str = s.readUTF ();
|
||||
String[] args = null;
|
||||
java.util.Properties props = null;
|
||||
org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
|
||||
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
|
||||
_set_delegate (delegate);
|
||||
}
|
||||
}
|
5
pmd/test-data/UnusedFormalParam3.java
Normal file
5
pmd/test-data/UnusedFormalParam3.java
Normal file
@ -0,0 +1,5 @@
|
||||
class UnusedFormalParam3 {
|
||||
private void t1(String s) {
|
||||
s.toString();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user