Project

General

Profile

« Previous | Next » 

Revision 968fbd9e

Added by Andreas Müller almost 4 years ago

cleanup

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/app/cyprus/CyprusAltitudeActivator.java
87 87

  
88 88
		CdmApplicationController app = CdmIoApplicationController.NewInstance(cdmDestination, hbm2dll);
89 89

  
90
		Set<TaxonBase> taxaToSave = new HashSet<>();
90
		@SuppressWarnings("rawtypes")
91
        Set<TaxonBase> taxaToSave = new HashSet<>();
91 92

  
92 93
		TransactionStatus tx = app.startTransaction();
93 94

  
......
225 226

  
226 227
	private TaxonDescription getDescription(Taxon taxon, Reference sourceRef) {
227 228
		if (taxon != null){
228
			//TODO Mikle existiert derzeit nicht also Source
229
			//TODO Mikle currently does not exist as Source
229 230

  
230 231
			TaxonDescription desc = TaxonDescription.NewInstance();
231 232
			desc.setTitleCache("Import from " + getSourceReference().getTitleCache(), true);
......
250 251
		return null;
251 252
	}
252 253

  
253
	/**
254
	 * @param row
255
	 * @return
256
	 */
257 254
	private UUID makeUuid(Map<String, String> row, String colName) {
258 255
		if (StringUtils.isBlank(row.get(colName))){
259 256
			return null;
......
285 282
		}
286 283
	}
287 284

  
288

  
289
	/**
290
	 * @param args
291
	 */
292 285
	public static void main(String[] args) {
293 286
		CyprusAltitudeActivator me = new CyprusAltitudeActivator();
294 287
		me.doImport(cdmDestination);

Also available in: Unified diff