Project

General

Profile

« Previous | Next » 

Revision 3e8514a9

Added by Katja Luther over 9 years ago

View differences:

cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/out/PesiTransformer.java
259 259
	// Plantae Ranks
260 260
	public static int Plantae_Kingdom = 10;
261 261
	public static int Plantae_Subkingdom = 20;
262
	public static int Plantae_Phylum = 20;
263
	public static int Plantae_Subphylum = 20;
262 264
	public static int Plantae_Division = 30;
263 265
	public static int Plantae_Subdivision = 40;
264 266
	public static int Plantae_Class = 60;
......
863 865
					this.taxRelZooQualifierCacheMap.put(key, zoologCache);
864 866
				}
865 867
			}
866
					
868
			rs = null;		
867 869
		} catch (SQLException e) {
868 870
			logger.error("SQLException when trying to read area map", e);
869 871
			e.printStackTrace();
......
1732 1734
				result = Plantae_Kingdom;
1733 1735
			} else if (rank.equals(Rank.SUBKINGDOM())) {
1734 1736
				result = Plantae_Subkingdom;
1735
			} else if (rank.equals(Rank.DIVISION())) {
1737
			}else if (rank.equals(Rank.PHYLUM())) {
1738
				result = Plantae_Phylum;
1739
			}else if (rank.equals(Rank.SUBPHYLUM())) {
1740
				result = Plantae_Subphylum;
1741
			}else if (rank.equals(Rank.DIVISION())) {
1736 1742
				result = Plantae_Division;
1737 1743
			} else if (rank.equals(Rank.SUBDIVISION())) {
1738 1744
				result = Plantae_Subdivision;

Also available in: Unified diff