Description
if (moduleVersion == null && moduleVersion.trim().length() == 0) {
moduleVersion = getDefaultModuleVersion(moduleName);
}
The second condition is never evaluated (it would cause a NPE). It should be ||
if (moduleVersion == null && moduleVersion.trim().length() == 0) {
moduleVersion = getDefaultModuleVersion(moduleName);
}
The second condition is never evaluated (it would cause a NPE). It should be ||