fix NPE building CCDA
This commit is contained in:
parent
d0b4a1c247
commit
c053f08a13
|
@ -304,7 +304,7 @@ public class VersionUtilities {
|
|||
public static boolean isMajMinOrLaterPatch(String test, String current) {
|
||||
String t = getMajMin(test);
|
||||
String c = getMajMin(current);
|
||||
if (c != null && c.compareTo(t) == 0) {
|
||||
if (c != null && t != null && c.compareTo(t) == 0) {
|
||||
String pt = getPatch(test);
|
||||
String pc = getPatch(current);
|
||||
if (pt==null || "x".equals(pt)) {
|
||||
|
|
Loading…
Reference in New Issue