Skip to content

Commit 095e801

Browse files
author
Alexander Yukhanov
committed
Additional formatting
1 parent 20b0b19 commit 095e801

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/org/spdx/library/model/SpdxPackage.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -603,8 +603,8 @@ protected List<String> _verify(Set<String> verifiedIds, String specVersion) {
603603

604604
// files depends on if the filesAnalyzed flag
605605
try {
606-
if (getFiles().size() !=0 && !filesAnalyzed) {
607-
retval.add("Warning: Found analyzed files for package " + pkgName + " when analyzedFiles is set to false.")
606+
if (getFiles().size() != 0 && !filesAnalyzed) {
607+
retval.add("Warning: Found analyzed files for package " + pkgName + " when analyzedFiles is set to false.");
608608
}
609609
for (SpdxFile file:getFiles()) {
610610
List<String> verify = file.verify(verifiedIds, specVersion);
@@ -721,7 +721,7 @@ protected List<String> _verify(Set<String> verifiedIds, String specVersion) {
721721
}
722722

723723
private void verifyLicenseInfosInFiles(Collection<AnyLicenseInfo> licenseInfoFromFiles,
724-
boolean filesAnalyzed, String pkgName, Set<String> verifiedIds, List<String> retval, String specVersion) {
724+
boolean filesAnalyzed, String pkgName, Set<String> verifiedIds, List<String> retval, String specVersion) {
725725
if (licenseInfoFromFiles.size() != 0 && !filesAnalyzed) {
726726
retval.add("License information from files must not be included when files not analyzed. Package " + pkgName);
727727
} else {

0 commit comments

Comments
 (0)