From 44c722d9c01e5b925d4cd62dd5647f27eec81493 Mon Sep 17 00:00:00 2001 From: Gary O'Neall Date: Thu, 7 Nov 2024 14:08:06 -0800 Subject: [PATCH] Update JavaDoc for LicenseInfoFactory Document the default will be used for copyManager if null. Fixes #257 Signed-off-by: Gary O'Neall --- src/main/java/org/spdx/library/LicenseInfoFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/spdx/library/LicenseInfoFactory.java b/src/main/java/org/spdx/library/LicenseInfoFactory.java index 56e431dd..f9580b29 100644 --- a/src/main/java/org/spdx/library/LicenseInfoFactory.java +++ b/src/main/java/org/spdx/library/LicenseInfoFactory.java @@ -86,7 +86,7 @@ public static SpdxListedLicense getListedLicenseByIdCompatV2(String licenseId)th * none exist for an ID, they will be added. If null, the default model store will be used. * @param documentUri Document URI for the document containing any extractedLicenseInfos - if any extractedLicenseInfos by ID already exist, they will be used. If * none exist for an ID, they will be added. If null, the default model document URI will be used. - * @param copyManager if non-null, allows for copying of any properties set which use other model stores or document URI's + * @param copyManager allows for copying of any properties set which use other model stores or document URI's. If null, the default will be used. * @return an SPDXLicenseInfo created from the string * @throws InvalidLicenseStringException if the license string is not valid * @throws DefaultStoreNotInitialized if the default model store is not initialized @@ -129,7 +129,7 @@ public static org.spdx.library.model.v2.license.AnyLicenseInfo parseSPDXLicenseS * none exist for an ID, they will be added. If null, the default model store will be used. * @param customLicensePrefix Prefix to use for any custom licenses or addition IDs found in the string. If the resultant object URI does not exist * for an ID, they will be added. If null, the default model document URI + "#" will be used. - * @param copyManager if non-null, allows for copying of any properties set which use other model stores or document URI's + * @param copyManager allows for copying of any properties set which use other model stores or document URI's. If null, the default will be used. * @param customIdToUri Mapping of the id prefixes used in the license expression to the namespace preceding the external ID * @return an SPDXLicenseInfo created from the string * @throws InvalidLicenseStringException if the license string is not valid