code: public final void replace(final List<Resource> r1, final Resource... r2) {
      replace(r1, Arrays.asList(r2));
    }
docs: Replaces all <code>r1</code> {@link Resource}s with <code>r2</code>
  {@link Resource}s.
  
  @param r1
  @param r2