Project

General

Profile

« Previous | Next » 

Revision 892efc69

Added by Andreas Kohlbecker almost 14 years ago

merging /branches/cdmlib/SPRINT-Chichorieae1/ to trunk

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/OrderedTermVocabulary.java
167 167
		super.addTerm(term);	
168 168
	}
169 169

  
170
	public void addTermAbove(T termToBeAdded, T lowerTerm) throws WrongTermTypeException {
170
	public void addTermAbove(T termToBeAdded, T lowerTerm)  {
171 171
		int orderInd = lowerTerm.orderIndex;
172 172
		termToBeAdded.orderIndex = orderInd;
173 173
		//increment all orderIndexes of terms below 
......
181 181
		super.addTerm(termToBeAdded);
182 182
	}
183 183

  
184
	public void addTermBelow(T termToBeAdded, T higherTerm) throws WrongTermTypeException {
184
	public void addTermBelow(T termToBeAdded, T higherTerm)  {
185 185
		int orderInd = higherTerm.orderIndex;
186 186
		termToBeAdded.orderIndex = orderInd + 1;
187 187
		//increment all orderIndexes of terms below 

Also available in: Unified diff