Skip to content

Commit f321b13

Browse files
committed
Update JavaDoc for LicenseInfoFactory
Document the default will be used for copyManager if null. Fixes #257 Signed-off-by: Gary O'Neall <[email protected]>
1 parent 96c9187 commit f321b13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/spdx/library/LicenseInfoFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public static SpdxListedLicense getListedLicenseByIdCompatV2(String licenseId)th
8686
* none exist for an ID, they will be added. If null, the default model store will be used.
8787
* @param documentUri Document URI for the document containing any extractedLicenseInfos - if any extractedLicenseInfos by ID already exist, they will be used. If
8888
* none exist for an ID, they will be added. If null, the default model document URI will be used.
89-
* @param copyManager if non-null, allows for copying of any properties set which use other model stores or document URI's
89+
* @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.
9090
* @return an SPDXLicenseInfo created from the string
9191
* @throws InvalidLicenseStringException if the license string is not valid
9292
* @throws DefaultStoreNotInitialized if the default model store is not initialized
@@ -129,7 +129,7 @@ public static org.spdx.library.model.v2.license.AnyLicenseInfo parseSPDXLicenseS
129129
* none exist for an ID, they will be added. If null, the default model store will be used.
130130
* @param customLicensePrefix Prefix to use for any custom licenses or addition IDs found in the string. If the resultant object URI does not exist
131131
* for an ID, they will be added. If null, the default model document URI + "#" will be used.
132-
* @param copyManager if non-null, allows for copying of any properties set which use other model stores or document URI's
132+
* @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.
133133
* @param customIdToUri Mapping of the id prefixes used in the license expression to the namespace preceding the external ID
134134
* @return an SPDXLicenseInfo created from the string
135135
* @throws InvalidLicenseStringException if the license string is not valid

0 commit comments

Comments
 (0)