fixed package_name concatenation error.
@@ -44,7 +44,7 @@ public class VulnerabilityApiServiceImpl implements VulnerabilityApiService {
logger.info("Received a list of Maven coordinates");
var jsonArray = new JSONArray();
mavenCoordinates.stream().map(c -> {
- var package_name = c.split(Constants.mvnCoordinateSeparator)[0]+c.split(Constants.mvnCoordinateSeparator)[1];
+ var package_name = c.split(Constants.mvnCoordinateSeparator)[0] + Constants.mvnCoordinateSeparator + c.split(Constants.mvnCoordinateSeparator)[1];
var package_version = c.split(Constants.mvnCoordinateSeparator)[2];
var vulnerabilities = KnowledgeBaseConnector.kbDao.getPackageVersionVulnerabilities(package_name, package_version);
var json = new JSONObject();
