MNA.SUSAn MNA error appears if someone gave a method a suspicious name. For example, if you write a method with the signature: public int hashcode() you could mean: public int hashCode() An MNA.SUS warning is reported for methods whose names might contain a typing error. Example 18 public class MNA_SUS_Sample_1 { 9 // method name might contain a typing error 10 public String tostring() { 11 return "Some string"; 12 } 13 } MNA.SUS is reported for method declaration on line 10: Suspicious method name 'tostring', did you mean 'toString'? |