If the array argument is not stored in the instance (or for static methods statically), the rule should not complain.
public class A
{
private int[] foo( int[] bar )
{
int[] tmp = bar; // FP
return tmp;
}
}
If the array argument is not stored in the instance (or for static methods statically), the rule should not complain.
public class A
{
private int[] foo( int[] bar )
{
int[] tmp = bar; // FP
return tmp;
}
}
Nice! Thanks.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.