Source:
<code>private static Configuration getServiceBusConfig() throws FalconException { String namespace = StartupProperties.get().getProperty(AZURE_SERVICEBUS_CONF_PREFIX + AZURE_SERVICEBUS_CONF_NAMESPACE); if (namespace == null) { throw new FalconException(AZURE_SERVICEBUS_CONF_PREFIX + AZURE_SERVICEBUS_CONF_NAMESPACE + " property not set in startup properties. Please add it."); } String sasKeyName = StartupProperties.get().getProperty(AZURE_SERVICEBUS_CONF_PREFIX + AZURE_SERVICEBUS_CONF_SASKEYNAME); if (sasKeyName == null) { throw new FalconException(AZURE_SERVICEBUS_CONF_PREFIX + AZURE_SERVICEBUS_CONF_SASKEYNAME + " property not set in startup properties. Please add it."); } String sasKey = StartupProperties.get().getProperty(AZURE_SERVICEBUS_CONF_PREFIX + AZURE_SERVICEBUS_CONF_SASKEY); <START> if (sasKey == null) { <END> throw new FalconException(AZURE_SERVICEBUS_CONF_PREFIX + AZURE_SERVICEBUS_CONF_SASKEY + " property not set in startup properties. Please add it."); } String serviceBusRootUri = StartupProperties.get().getProperty(AZURE_SERVICEBUS_CONF_PREFIX + AZURE_SERVICEBUS_CONF_SERVICEBUSROOTURI); if (serviceBusRootUri == null) { throw new FalconException(AZURE_SERVICEBUS_CONF_PREFIX + AZURE_SERVICEBUS_CONF_SERVICEBUSROOTURI + " property not set in startup properties. Please add it."); } LOG.info("namespace: " + namespace + ", sas key name: " + sasKeyName + ", sas key: " + sasKey + ", root uri: " + serviceBusRootUri); return ServiceBusConfiguration.configureWithSASAuthentication(namespace, sasKeyName, sasKey, serviceBusRootUri); }</code><technical_language>isBlank()</technical_language>

Target:
private static Configuration getServiceBusConfig() throws FalconException { String namespace = StartupProperties.get().getProperty(AZURE_SERVICEBUS_CONF_PREFIX + AZURE_SERVICEBUS_CONF_NAMESPACE); if (StringUtils.isBlank(namespace)) { throw new FalconException(AZURE_SERVICEBUS_CONF_PREFIX + AZURE_SERVICEBUS_CONF_NAMESPACE + " property not set in startup properties. Please add it."); } String sasKeyName = StartupProperties.get().getProperty(AZURE_SERVICEBUS_CONF_PREFIX + AZURE_SERVICEBUS_CONF_SASKEYNAME); if (StringUtils.isBlank(sasKeyName)) { throw new FalconException(AZURE_SERVICEBUS_CONF_PREFIX + AZURE_SERVICEBUS_CONF_SASKEYNAME + " property not set in startup properties. Please add it."); } String sasKey = StartupProperties.get().getProperty(AZURE_SERVICEBUS_CONF_PREFIX + AZURE_SERVICEBUS_CONF_SASKEY); if (StringUtils.isBlank(sasKey)) { throw new FalconException(AZURE_SERVICEBUS_CONF_PREFIX + AZURE_SERVICEBUS_CONF_SASKEY + " property not set in startup properties. Please add it."); } String serviceBusRootUri = StartupProperties.get().getProperty(AZURE_SERVICEBUS_CONF_PREFIX + AZURE_SERVICEBUS_CONF_SERVICEBUSROOTURI); if (StringUtils.isBlank(serviceBusRootUri)) { throw new FalconException(AZURE_SERVICEBUS_CONF_PREFIX + AZURE_SERVICEBUS_CONF_SERVICEBUSROOTURI + " property not set in startup properties. Please add it."); } LOG.info("namespace: {}, sas key name: {}, sas key: {}, root uri: {}", namespace, sasKeyName, sasKey, serviceBusRootUri); return ServiceBusConfiguration.configureWithSASAuthentication(namespace, sasKeyName, sasKey, serviceBusRootUri); }