Commit ac9e937a authored by Kostis Trantzas's avatar Kostis Trantzas
Browse files

fix for #24

parent 2cf4b319
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -310,7 +310,7 @@ public class CreateReservedService implements JavaDelegate {
			if ( initCharValues != null ) {
			if ( initCharValues != null ) {
			  if ( initCharValues.get( c.getName() ) != null ) {
			  if ( initCharValues.get( c.getName() ) != null ) {
			    Characteristic orderCharacteristic = new Characteristic()
			    Characteristic orderCharacteristic = new Characteristic()
			        .value( new Any( initCharValues.get( c.getName() ), initCharValues.get( c.getName() ))) ;
			        .value( new Any( initCharValues.get( c.getName() ), null ) );
                serviceToCreate.addServiceCharacteristicItem( helperCreateCharacteristicItem(c, orderCharacteristic ) );
                serviceToCreate.addServiceCharacteristicItem( helperCreateCharacteristicItem(c, orderCharacteristic ) );
                characteristicFound = true;
                characteristicFound = true;
                continue;
                continue;