device-mgt-core/components
Timo Briddigkeit ed07774552 Fixed literal string comparison.
This line is in the form of
String str = ...
str.equals("someOtherString");
//or
str.compareTo("someOtherString");

A NullPointerException may occur if the String variable str is null. If instead the code was restructured to
String str = ...
"someOtherString".equals(str);
//or
"someOtherString".compareTo(str);
that is, call equals() or compareTo() on the string literal, passing the variable as an argument, this exception could never happen as both equals() and compareTo() check for null.
2016-07-15 16:25:31 +02:00
..
apimgt-extensions Fixed literal string comparison. 2016-07-15 16:25:31 +02:00
certificate-mgt instanceof will return false for null references, the null check is not needed. 2016-07-15 09:39:50 +02:00
device-mgt Fixed literal string comparison. 2016-07-15 16:25:31 +02:00
device-mgt-extensions [maven-release-plugin] prepare for next development iteration 2016-07-08 19:11:40 +05:30
email-sender Fixed various XML External Entity (XXE) attack vulnerabilities 2016-07-13 15:02:11 +02:00
identity-extensions Made constants real constant using final 2016-07-13 15:57:12 +02:00
policy-mgt Fixed literal string comparison. 2016-07-15 16:25:31 +02:00
webapp-authenticator-framework Fixed literal string comparison. 2016-07-15 16:25:31 +02:00