Changeset 12698

Show
Ignore:
Timestamp:
07.09.2006 11:24:08 (14 years ago)
Author:
kjdon
Message:

clear the old attributes arrayList before setting the new one

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/gems/AttributeContainer.java

    r12659 r12698  
    8686     
    8787    public void setAttributes(ArrayList atts) { 
     88    attributes.clear(); 
    8889    attributes = atts; 
    8990    } 
     
    9697    } 
    9798     
    98     public void setLangDependAttributes(ArrayList lda){ 
     99    public void setLanguageDependentAttributes(ArrayList lda){ 
     100    language_dependent_attributes.clear(); 
    99101    language_dependent_attributes = lda; 
    100102    }