code: public static final void concatenateSpans(final List<Span> allSpans,
        final Span[] neSpans) {
      for (final Span span : neSpans) {
        allSpans.add(span);
      }
    }
docs: Concatenates two span lists adding the spans of the second parameter to the
  list in first parameter.
  
  @param allSpans
  the spans to which the other spans are added
  @param neSpans
  the spans to be added to allSpans