private VectorValueSource makeMV(List<ValueSource> sources,List<ValueSource> orig) throws SyntaxError {
  ValueSource vs1=sources.get(0);
  ValueSource vs2=sources.get(1);
  if (vs1 instanceof MultiValueSource || vs2 instanceof MultiValueSource) {
    throw new SyntaxError("geodist - invalid parameters:" + orig);
  }
  return new VectorValueSource(sources);
}

private VectorValueSource makeMV ( List < ValueSource > sources , List < ValueSource > orig ) throws SyntaxError { ValueSource vs1 = sources . get ( 0 ) ; ValueSource vs2 = sources . get ( 1 ) ; if ( vs1 instanceof MultiValueSource || vs2 instanceof MultiValueSource ) { throw new SyntaxError ( "geodist - invalid parameters:" + orig ) ; } return new VectorValueSource ( sources ) ; }
make a multivaluesource from two non multivaluesources
