private IProject[] asProjects(ProjectSetSerializationContext context,String[] referenceStrings,Map<IProject,LoadInfo> infoMap) throws SVNException {
  Collection<IProject> result=new ArrayList<IProject>();
  for (  String referenceString : referenceStrings) {
    StringTokenizer tokenizer=new StringTokenizer(referenceString,",");
    String version=tokenizer.nextToken();
    if (!version.equals("0.9.3")) {
      continue;
    }
    LoadInfo info=new LoadInfo(context,tokenizer);
    IProject proj=info.getProject();
    result.add(proj);
    infoMap.put(proj,info);
  }
  return (IProject[])result.toArray(new IProject[result.size()]);
}

private IProject [ ] asProjects ( ProjectSetSerializationContext context , String [ ] referenceStrings , Map < IProject , LoadInfo > infoMap ) throws SVNException { Collection < IProject > result = new ArrayList < IProject > ( ) ; for ( String referenceString : referenceStrings ) { StringTokenizer tokenizer = new StringTokenizer ( referenceString , "," ) ; String version = tokenizer . nextToken ( ) ; if ( ! version . equals ( "0.9.3" ) ) { continue ; } LoadInfo info = new LoadInfo ( context , tokenizer ) ; IProject proj = info . getProject ( ) ; result . add ( proj ) ; infoMap . put ( proj , info ) ; } return ( IProject [ ] ) result . toArray ( new IProject [ result . size ( ) ] ) ; }
translate the reference strings into projects to be loaded and build a mapping of project to project load information .
