code: private void add( final List<String> arguments,
                        final Collection<String> argumentsToAdd )
      {
          if( argumentsToAdd != null && argumentsToAdd.size() > 0 )
          {
              arguments.addAll( argumentsToAdd );
          }
      }
docs: Adds a collection of arguments to a list of arguments by skipping null arguments.
  
  @param arguments      list to which the arguments should be added
  @param argumentsToAdd arguments to be added (can be null or empty)