Update DebianLicenseFeederPlugin.java
Removing some println
@@ -71,7 +71,7 @@ public class DebianLicenseFeederPlugin extends Plugin {
logger.info("Product name: " + productName + ".");
// Inserting detected outbound into the database
var metadataDao = new MetadataDao(dslContext);
- System.out.println("After new MetadataDao(dslContext) ");
+ //System.out.println("After new MetadataDao(dslContext) ");
dslContext.transaction(transaction -> {
metadataDao.setContext(DSL.using(transaction));
insertOutboundLicenses(productName, packageVersion, record, metadataDao);
@@ -182,14 +182,14 @@ public class DebianLicenseFeederPlugin extends Plugin {
* @param metadataDao Data Access Object to insert records in the database.
*/
protected void insertOutboundLicenses(String packageName, String packageVersion, String record, MetadataDao metadataDao) {
- System.out.println("[BEGINNING] inside of insertOutboundLicenses");
+ //System.out.println("[BEGINNING] inside of insertOutboundLicenses");
var payload = new JSONObject(record);
if (payload.has("payload")) {
payload = payload.getJSONObject("payload");
}
JSONArray outboundLicenses = payload.getJSONArray("outbound");
- System.out.println("After payload.getJSONArray outbound");
+ //System.out.println("After payload.getJSONArray outbound");
System.out.println(outboundLicenses);
logger.info("About to insert outbound licenses...");
metadataDao.insertPackageOutboundLicenses(
