minor
authorAndreas Müller <a.mueller@bgbm.org>
Fri, 1 Nov 2013 15:23:30 +0000 (15:23 +0000)
committerAndreas Müller <a.mueller@bgbm.org>
Fri, 1 Nov 2013 15:23:30 +0000 (15:23 +0000)
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/location/NamedArea.java

index fe8def1639eeea7894702f258dd20efcdfcc4c85..97f257ae0003bc4a3124bc508f156db8ce13f1de 100644 (file)
@@ -557,11 +557,11 @@ public class NamedArea extends OrderedTermBase<NamedArea> implements Cloneable {
 
     @Override
     protected void setDefaultTerms(TermVocabulary<NamedArea> termVocabulary) {
-        if (termVocabulary.getUuid().equals(this.uuidTdwgAreaVocabulary)){
+        if (termVocabulary.getUuid().equals(NamedArea.uuidTdwgAreaVocabulary)){
                this.setTdwgDefaultTerms(termVocabulary);
-        }else if (termVocabulary.getUuid().equals(this.uuidContinentVocabulary)){
+        }else if (termVocabulary.getUuid().equals(NamedArea.uuidContinentVocabulary)){
                this.setDefaultContinentTerms(termVocabulary);
-        }else if (termVocabulary.getUuid().equals(this.uuidWaterbodyVocabulary)){
+        }else if (termVocabulary.getUuid().equals(NamedArea.uuidWaterbodyVocabulary)){
                this.setDefaultWaterbodyTerms(termVocabulary);
         }else{
                termMap = new HashMap<UUID, NamedArea>();