Skip to content

Commit 6ba87bc

Browse files
committed
Update API's to accept type hints for external
Signed-off-by: Gary O'Neall <gary@sourceauditor.com>
1 parent fb58aca commit 6ba87bc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/java/org/spdx/library/model/compat/v2/SpdxModelInfoV2_XTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ public void tearDown() throws Exception {
7070
public void testCreateExternalElement() throws InvalidSPDXAnalysisException {
7171
// external license
7272
String licenseUri = "http://prefix#" + SpdxConstantsCompatV2.NON_STD_LICENSE_ID_PRENUM + "test";
73-
CoreModelObject external = modelInfo.createExternalElement(modelStore, licenseUri, copyManager, Version.TWO_POINT_THREE_VERSION);
73+
CoreModelObject external = modelInfo.createExternalElement(modelStore, licenseUri, copyManager, null, Version.TWO_POINT_THREE_VERSION);
7474
assertTrue(external instanceof ExternalExtractedLicenseInfo);
7575
assertEquals(licenseUri, external.getObjectUri());
7676
// external license
7777
String elementUri = "http://prefix#" + SpdxConstantsCompatV2.SPDX_ELEMENT_REF_PRENUM + "test";
78-
external = modelInfo.createExternalElement(modelStore, elementUri, copyManager, Version.TWO_POINT_THREE_VERSION);
78+
external = modelInfo.createExternalElement(modelStore, elementUri, copyManager, null, Version.TWO_POINT_THREE_VERSION);
7979
assertTrue(external instanceof ExternalSpdxElement);
8080
assertEquals(elementUri, external.getObjectUri());
8181
}

0 commit comments

Comments
 (0)