Search code examples
javanetbeanssuppress-warnings

how remove @SuppressWarnings(“unused”) in netbeans?


I always see in many codes:

@SuppressWarnings("unused")

How can I remove these lines I use in java (in the NetBeans IDE):

@SuppressWarnings("unused")
String newName1 = input.next();         
@SuppressWarnings("unused")
String newFamily1 = input.next();           
String newGender1 = input.next();           
@SuppressWarnings("unused")
String arrow = input.next();        
@SuppressWarnings("unused")
String newName2 = input.next();         
@SuppressWarnings("unused")
String newFamily2 = input.next();
String newGender2 = input.next();

Solution

  • Search for it and replace all with ""