question: public void addAttribute ( AttributeInfo info ) { if ( attribute == null ) attribute = new ArrayList ( ) ; AttributeInfo . remove ( attribute , info . getName ( ) ) ; attribute . add ( info ) ; }
target:  Appends an attribute. If there is already an attribute with the same name, the new one substitutes for it.