Project

General

Profile

« Previous | Next » 

Revision 01146fd8

Added by Andreas Müller over 3 years ago

cleanup

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/app/wp6/diptera/DipteraDistributionParser.java
47 47
/**
48 48
 * @author a.mueller
49 49
 * @since 17.10.2008
50
 * @version 1.0
51 50
 */
52 51
public class DipteraDistributionParser {
53 52
	private static final Logger logger = Logger.getLogger(DipteraDistributionParser.class);
......
90 89
		app.commitTransaction(txStatus);
91 90
	}
92 91

  
93
	static Set<String> unrekognizedStrings = new HashSet<String>();
92
	static Set<String> unrekognizedStrings = new HashSet<>();
94 93
	static int countNot = 0;
95 94
	static int countYes = 0;
96 95

  
......
218 217
	}
219 218

  
220 219

  
221
	static List<String> stopWords = new ArrayList<String>();
222
	static List<String> unknownAreas = new ArrayList<String>();
223
	static List<String> higherAreas = new ArrayList<String>();
220
	static List<String> stopWords = new ArrayList<>();
221
	static List<String> unknownAreas = new ArrayList<>();
222
	static List<String> higherAreas = new ArrayList<>();
224 223

  
225 224
	private String adaptWordsToTdwg(String word){
226 225
		word = word.replace(",", "").replace(";", "");
......
409 408
		higherAreas.add("NT");
410 409
	}
411 410

  
412

  
413
	/**
414
	 * @param args
415
	 */
416 411
	public static void main(String[] args) {
417 412
		CdmApplicationController app = null;
418 413
		DbSchemaValidation val = DbSchemaValidation.UPDATE;

Also available in: Unified diff