-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
bugSomething isn't workingSomething isn't workingmatchingLicense matching and recognitionLicense matching and recognition
Description
For the license text https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt I get the following:
System.out.println(Arrays.toString(LicenseCompareHelper.matchingStandardLicenseIds(licenseText)));
System.out.println(LicenseCompareHelper.matchingStandardLicenseIdsWithinText(licenseText));
outputs
[]
[GPL-2.0, GPL-2.0-or-later, GPL-2.0-only]
The two outputs should be the same since the GPL-2.0 license spans the whole file.
Tested with version 1.1.11
This problem is similar to 217
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingmatchingLicense matching and recognitionLicense matching and recognition