Skip to content

Commit

Permalink
Merge pull request #59 from spdx/issue58
Browse files Browse the repository at this point in the history
Output files analyzed tag after relationships
  • Loading branch information
goneall authored Dec 13, 2024
2 parents ea6db9f + 8a18224 commit 9596d4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/spdx/tag/CommonCode.java
Original file line number Diff line number Diff line change
Expand Up @@ -738,13 +738,13 @@ private static void printPackage(SpdxPackage pkg, PrintWriter out,
printExternalRef(out, constants, externalRef, documentNamespace);
}
}
printElementAnnotationsRelationships(pkg, out, constants,"PROP_PACKAGE_DECLARED_NAME",
"PROP_PACKAGE_COMMENT");
// Files
if (!pkg.isFilesAnalyzed()) {
// Only print if not the default
println(out, constants.getProperty("PROP_PACKAGE_FILES_ANALYZED") + "false");
}
printElementAnnotationsRelationships(pkg, out, constants,"PROP_PACKAGE_DECLARED_NAME",
"PROP_PACKAGE_COMMENT");
List<SpdxFile> files = new ArrayList<>(pkg.getFiles());
if (!files.isEmpty()) {
Collections.sort(files);
Expand Down

0 comments on commit 9596d4e

Please sign in to comment.