avoided null check when comparing

revert-dabc3590
ayyoob 9 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