Skip to content

Commit

Permalink
Commented out TrivyScanMetadata as we don't use it and it increases t…
Browse files Browse the repository at this point in the history
…he scope of native code reflection unnecessarily.
  • Loading branch information
EdgewareRoad committed Jun 26, 2024
1 parent ff5a95c commit a90e3ec
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ public class TrivyScan
@JsonProperty("ArtifactType")
private String artifactType;

@JsonProperty("Metadata")
private TrivyScanMetadata metadata;
// @JsonProperty("Metadata")
// private TrivyScanMetadata metadata;

@JsonProperty("Results")
private TrivyScanResult[] results;
Expand Down Expand Up @@ -59,13 +59,13 @@ public void setArtifactType(String artifactType) {
this.artifactType = artifactType;
}

public TrivyScanMetadata getMetadata() {
return metadata;
}
// public TrivyScanMetadata getMetadata() {
// return metadata;
// }

public void setMetadata(TrivyScanMetadata metadata) {
this.metadata = metadata;
}
// public void setMetadata(TrivyScanMetadata metadata) {
// this.metadata = metadata;
// }

public TrivyScanResult[] getResults() {
return results;
Expand Down

0 comments on commit a90e3ec

Please sign in to comment.