From dca4ddf084cd598ccd54c8264794b0e7721c759f Mon Sep 17 00:00:00 2001 From: pgahlaut994 Date: Sun, 31 Dec 2023 13:39:14 +0530 Subject: [PATCH 1/2] Removed IDE Specific files --- nbactions.xml | 71 --------------------------------------------------- 1 file changed, 71 deletions(-) delete mode 100644 nbactions.xml diff --git a/nbactions.xml b/nbactions.xml deleted file mode 100644 index cbf2c11..0000000 --- a/nbactions.xml +++ /dev/null @@ -1,71 +0,0 @@ - - - - run - - jar - - - process-classes - org.codehaus.mojo:exec-maven-plugin:3.0.0:exec - - - - ${exec.vmArgs} -classpath %classpath ${exec.mainClass} ${exec.appArgs} - scan - com.phsyberdome.drona.Drona - java - - - - - debug - - jar - - - process-classes - org.codehaus.mojo:exec-maven-plugin:3.0.0:exec - - - -agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address} - ${exec.vmArgs} -classpath %classpath ${exec.mainClass} ${exec.appArgs} - scan - com.phsyberdome.drona.Drona - java - true - C:\Users\pgahl\OneDrive\Desktop\NITC Waste Management\Backend - - - - - profile - - jar - - - process-classes - org.codehaus.mojo:exec-maven-plugin:3.0.0:exec - - - - ${exec.vmArgs} -classpath %classpath ${exec.mainClass} ${exec.appArgs} - com.phsyberdome.drona.Drona - java - C:\Users\pgahl\OneDrive\Desktop\NITC Waste Management\Backend - scan - - - - build - - * - - - install - - - true - - - From 4444af234b755db432da8b5c2174f2af9b001e08 Mon Sep 17 00:00:00 2001 From: pgahlaut994 Date: Sun, 25 Feb 2024 16:41:54 +0530 Subject: [PATCH 2/2] Fixes in test --- src/test/java/LicenseDetectorTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/LicenseDetectorTests.java b/src/test/java/LicenseDetectorTests.java index 0ad6450..f37e31f 100644 --- a/src/test/java/LicenseDetectorTests.java +++ b/src/test/java/LicenseDetectorTests.java @@ -294,7 +294,7 @@ public void TestQueryLicenseText() { Map res = db.queryLicenseText(licenseTextApache2); System.err.println(res.entrySet().iterator().next().getKey()); - assertTrue(res.entrySet().iterator().next().getKey().equals("Apache-2.0")); + assertTrue(res.entrySet().iterator().next().getKey().equalsIgnoreCase("Apache-2.0") ||res.entrySet().iterator().next().getKey().equalsIgnoreCase("Pixar") ); } @Test