private void checkHeaderEmpty(String command,String header){
  if (!Strings.isNullOrEmpty(header)) {
    error("command '@%s' has unexpected arguments",command);
  }
}

private void checkHeaderEmpty ( String command , String header ) { if ( ! Strings . isNullOrEmpty ( header ) ) { error ( "command '@%s' has unexpected arguments" , command ) ; } }
checks whether a header ( rest of a command line ) is empty and report error if not .
