File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
src/main/java/com/scanoss Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 186
186
</archive >
187
187
<inlineDescriptors >
188
188
<inlineDescriptor >
189
- <id >with-dependencies-slf4j- excluded</id >
189
+ <id >with-dependencies-excluded-slf4j </id >
190
190
<formats >
191
191
<format >jar</format >
192
192
</formats >
Original file line number Diff line number Diff line change @@ -235,7 +235,6 @@ private ScanFileDetails createUpdatedResultDetails(ScanFileDetails existingCompo
235
235
ScanFileDetails cached = purl2ComponentDetailsMap .get (newPurl .toString ());
236
236
237
237
if (cached != null ) {
238
- //TODO: Clarification on copyright, Vulns, etc
239
238
return cached .toBuilder ()
240
239
.file (existingComponent .getFile ())
241
240
.fileHash (existingComponent .getFileHash ())
@@ -247,6 +246,10 @@ private ScanFileDetails createUpdatedResultDetails(ScanFileDetails existingCompo
247
246
}
248
247
// If no cached info, create minimal version
249
248
return existingComponent .toBuilder ()
249
+ .copyrightDetails (new CopyrightDetails []{})
250
+ .licenseDetails (new LicenseDetails []{})
251
+ .vulnerabilityDetails (new VulnerabilityDetails []{})
252
+ .version (null )
250
253
.purls (new String []{newPurl .toString ()})
251
254
.url (Purl2Url .isSupported (newPurl ) ? Purl2Url .convert (newPurl ) : "" )
252
255
.component (newPurl .getName ())
You can’t perform that action at this time.
0 commit comments