avoided null check when comparing

merge-requests/1/head
ayyoob 8 years ago
parent 9eec100535
commit 95ca419d17

@ -45,7 +45,7 @@ public class XmppConfig {
List<PushNotificationConfig.Property> properties = deviceManagementConfiguration.getPushNotificationConfig()
.getProperties();
String provider = deviceManagementConfiguration.getPushNotificationConfig().getPushNotificationProvider();
if (provider.equals("XMPP")) {
if ("XMPP".equals(provider)) {
enabled = true;
}
if (enabled) {

Loading…
Cancel
Save