TemplatePersistenceData orig= findSimilarTemplate(datas, t);
TemplatePersistenceData orig= findSimilarTemplate(datas, t, isCodeTemplates());
	public void load() throws IOException {		super.load();				if (fLegacySet != null) {						List legacyTemplates= new ArrayList(Arrays.asList(fLegacySet.getTemplates()));			fLegacySet.clear();						TemplatePersistenceData[] datas= getTemplateData(true);			for (Iterator it= legacyTemplates.listIterator(); it.hasNext();) {				Template t= (Template) it.next();				TemplatePersistenceData orig= findSimilarTemplate(datas, t);				if (orig == null) { // no contributed match for the old template found					if (!isCodeTemplates())						add(new TemplatePersistenceData(t, true));				} else { // a contributed template seems to be the descendant of the non-id template t					if (!orig.getTemplate().getPattern().equals(t.getPattern()))						// add as modified contributed template if changed compared to the original						orig.setTemplate(t);				}			}						save();//			fLegacySet= null;		}	}