public void delete(final Player player,final List<String> args){
  int i;
  try {
    i=Integer.parseInt(args.get(1));
  }
 catch (  final NumberFormatException e) {
    sandbox.privateText(player,"Please specify a number");
    return;
  }
  final Sign sign=storage.get(Integer.valueOf(i));
  if (sign != null) {
    storage.remove(Integer.valueOf(i));
    sandbox.remove(sign);
    final StringBuilder sb=new StringBuilder();
    sb.append("Removed sign ");
    signToString(sb,sign);
    sandbox.privateText(player,sb.toString());
  }
 else {
    sandbox.privateText(player,"Sign " + i + " does not exist");
  }
}

public void delete ( final Player player , final List < String > args ) { int i ; try { i = Integer . parseInt ( args . get ( 1 ) ) ; } catch ( final NumberFormatException e ) { sandbox . privateText ( player , "Please specify a number" ) ; return ; } final Sign sign = storage . get ( Integer . valueOf ( i ) ) ; if ( sign != null ) { storage . remove ( Integer . valueOf ( i ) ) ; sandbox . remove ( sign ) ; final StringBuilder sb = new StringBuilder ( ) ; sb . append ( "Removed sign " ) ; signToString ( sb , sign ) ; sandbox . privateText ( player , sb . toString ( ) ) ; } else { sandbox . privateText ( player , "Sign " + i + " does not exist" ) ; } }
removes the specified sign .
