Source:
<code>public boolean deCoupleMbusDevice(final DeviceMessageMetadata deviceMessageMetadata, final DeCoupleMbusDeviceRequestData requestData) throws FunctionalException { final String deviceIdentification = deviceMessageMetadata.getDeviceIdentification(); final String mbusDeviceIdentification = requestData.getMbusDeviceIdentification(); <START> LOGGER.debug("decoupleMbusDevice for organizationIdentification: for gateway: {}, m-bus device ", <END> deviceMessageMetadata.getOrganisationIdentification(), deviceIdentification, mbusDeviceIdentification); try { final SmartMeter gatewayDevice = this.domainHelperService.findSmartMeter(deviceIdentification); final SmartMeter mbusDevice = this.domainHelperService.findSmartMeter(mbusDeviceIdentification); this.checkAndHandleInactiveMbusDevice(mbusDevice); if (mbusDevice.getChannel() == null) { return false; } else { final DecoupleMbusDto decoupleMbusDto = new DecoupleMbusDto(mbusDeviceIdentification, mbusDevice.getChannel()); final RequestMessage requestMessage = new RequestMessage(deviceMessageMetadata.getCorrelationUid(), deviceMessageMetadata.getOrganisationIdentification(), deviceMessageMetadata.getDeviceIdentification(), gatewayDevice.getIpAddress(), decoupleMbusDto); this.osgpCoreRequestMessageSender.send(requestMessage, deviceMessageMetadata.getMessageType(), deviceMessageMetadata.getMessagePriority(), deviceMessageMetadata.getScheduleTime()); return true; } } catch (final FunctionalException ex) { throw ex; } }</code><technical_language>is some inconsistency in capitals camel-casing decouple. proper I guess a capital C decouple is a single word I tell. consistently same, mixing options</technical_language>

Target:
public void deCoupleMbusDevice(final DeviceMessageMetadata deviceMessageMetadata, final DeCoupleMbusDeviceRequestData requestData) throws FunctionalException { final String deviceIdentification = deviceMessageMetadata.getDeviceIdentification(); final String mbusDeviceIdentification = requestData.getMbusDeviceIdentification(); LOGGER.debug("deCoupleMbusDevice for organizationIdentification: for gateway: {}, m-bus device ", deviceMessageMetadata.getOrganisationIdentification(), deviceIdentification, mbusDeviceIdentification); final SmartMeter gatewayDevice = this.domainHelperService.findSmartMeter(deviceIdentification); final SmartMeter mbusDevice = this.domainHelperService.findSmartMeter(mbusDeviceIdentification); this.checkAndHandleInactiveMbusDevice(mbusDevice); if (this.isMbusDeviceCoupled(mbusDevice)) { this.installationService.handleResponse("deCoupleMbusDevice", deviceMessageMetadata, ResponseMessageResultType.OK, null); } else { final DeCoupleMbusDeviceDto decoupleMbusDto = new DeCoupleMbusDeviceDto(mbusDeviceIdentification, mbusDevice.getChannel()); final RequestMessage requestMessage = new RequestMessage(deviceMessageMetadata.getCorrelationUid(), deviceMessageMetadata.getOrganisationIdentification(), deviceMessageMetadata.getDeviceIdentification(), gatewayDevice.getIpAddress(), decoupleMbusDto); this.osgpCoreRequestMessageSender.send(requestMessage, deviceMessageMetadata.getMessageType(), deviceMessageMetadata.getMessagePriority(), deviceMessageMetadata.getScheduleTime()); } }