Project

General

Profile

« Previous | Next » 

Revision 1f73c25d

Added by Andreas Müller about 11 years ago

update url method for vibrant imports

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/app/vibrant/EuroMedActivator.java
170 170
		config.setNomenclaturalCode(nomenclaturalCode);
171 171

  
172 172
		try {
173
			Method makeUrlMethod = MclActivator.class.getDeclaredMethod("makeUrlForTaxon", TaxonBase.class, ResultSet.class);
173
			Method makeUrlMethod = this.getClass().getDeclaredMethod("makeUrlForTaxon", TaxonBase.class, ResultSet.class);
174 174
			config.setMakeUrlForTaxon(makeUrlMethod);
175 175
		} catch (Exception e) {
176 176
			e.printStackTrace();
app-import/src/main/java/eu/etaxonomy/cdm/app/vibrant/IopiActivator.java
160 160
		config.setNomenclaturalCode(nomenclaturalCode);
161 161

  
162 162
		try {
163
			Method makeUrlMethod = MclActivator.class.getDeclaredMethod("makeUrlForTaxon", TaxonBase.class, ResultSet.class);
163
			Method makeUrlMethod = this.getClass().getDeclaredMethod("makeUrlForTaxon", TaxonBase.class, ResultSet.class);
164 164
			config.setMakeUrlForTaxon(makeUrlMethod);
165 165
		} catch (Exception e) {
166 166
			e.printStackTrace();
app-import/src/main/java/eu/etaxonomy/cdm/app/vibrant/MclActivator.java
132 132
		BerlinModelImportConfigurator config = BerlinModelImportConfigurator.NewInstance(source,  destination);
133 133
		
134 134
		try {
135
			Method makeUrlMethod = MclActivator.class.getDeclaredMethod("makeUrlForTaxon", TaxonBase.class, ResultSet.class);
135
			Method makeUrlMethod = this.getClass().getDeclaredMethod("makeUrlForTaxon", TaxonBase.class, ResultSet.class);
136 136
			config.setMakeUrlForTaxon(makeUrlMethod);
137 137
		} catch (Exception e) {
138 138
			e.printStackTrace();

Also available in: Unified diff