private void addToken(final List<String> list,String tok){
  if (StringUtils.isEmpty(tok)) {
    if (isIgnoreEmptyTokens()) {
      return;
    }
    if (isEmptyTokenAsNull()) {
      tok=null;
    }
  }
  list.add(tok);
}

private void addToken ( final List < String > list , String tok ) { if ( StringUtils . isEmpty ( tok ) ) { if ( isIgnoreEmptyTokens ( ) ) { return ; } if ( isEmptyTokenAsNull ( ) ) { tok = null ; } } list . add ( tok ) ; }
adds a token to a list , paying attention to the parameters we ' ve set .
