Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
Signed-off-by: Brandon Lum <lumjjb@gmail.com>
  • Loading branch information
lumjjb committed Mar 24, 2023
1 parent a2418c6 commit 9b08fea
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions spdx/v2/v2_3/document.go
Expand Up @@ -121,15 +121,6 @@ func (d *Document) UnmarshalJSON(b []byte) error {
}

p.hasFiles = nil

// // set json enum to PACKAGE_MANAGER for 2.2 (for schema reasons).
// if d.SPDXVersion == v2_2.Version {
// for _, r := range p.PackageExternalReferences {
// if r.Category == common.CategoryPackageManager {
// r.Category = common.CategoryPackageManagerJson
// }
// }
// }
}

return nil
Expand Down

0 comments on commit 9b08fea

Please sign in to comment.