src/main/java/cz/diribet/aqdef/model/AqdefObjectModel.java
/**
	 * Removes characteristic entries with the given index.
	 * Value entries of the given characteristic are preserved!
	 *
	 * @param index
	 * @return
	 */
Removes characteristic entries with the given index.
Value entries of the given characteristic are preserved!

@param index
@return
Removes characteristic entries with the given index . Value entries of the given characteristic are preserved! @param index @return
private CharacteristicEntries removeCharacteristicEntries(CharacteristicIndex index) {
		Map<CharacteristicIndex, CharacteristicEntries> entriesWithPartIndex = characteristicEntries.get(index.getPartIndex());
		if (entriesWithPartIndex != null) {
			CharacteristicEntries removedEntries = entriesWithPartIndex.remove(index);
			if (entriesWithPartIndex.isEmpty()) {
				characteristicEntries.remove(index.getPartIndex());
			}
			return removedEntries;
		}
		return null;
	}
private CharacteristicEntries removeCharacteristicEntries ( CharacteristicIndex index ) { Map < CharacteristicIndex , CharacteristicEntries > entriesWithPartIndex = characteristicEntries . get ( index . getPartIndex ( ) ) ; if ( entriesWithPartIndex != null ) { CharacteristicEntries removedEntries = entriesWithPartIndex . remove ( index ) ; if ( entriesWithPartIndex . isEmpty ( ) ) { characteristicEntries . remove ( index . getPartIndex ( ) ) ; } return removedEntries ; } return null ; }
Removes characteristic entries with the given index.
Removes characteristic entries with the given index .
// cleanup empty entries