Closed rleigh-codelibre closed 1 year ago
Conflicting PR. Removed from build BIOFORMATS-push#659. See the console output for more details. Possible conflicts:
--conflicts Conflict resolved in build BIOFORMATS-push#664. See the console output for more details.
Update pushed which fixes up some cosmetic formatting in MetadataConverter
.
snoopy is correct that #125 does conflict. As and when that fix is merged, I'll update this PR to remove the conflict.
This pull request has been mentioned on Image.sc Forum. There might be relevant details there:
https://forum.image.sc/t/static-analysis-and-ome-model-bugfixes/45977/1
Rebased to run with GitHub Actions.
Following static analysis of the ome-model source tree, the following remediation of the ome-xml and specification Java components has been performed:
Both ome-xml and specification:
final
qualifiers<>
)ome-xml:
Map.computeIfAbsent()
to simplify list creationpublic
modifier from interface (it's public by default)StringBuilder
for performancespecification:
No generated source changes.
Total static analysis warnings fixed: 702 (3261 before, 2559 after)
Testing:
The refactoring should not result in any behavioural changes. All unit tests and integration tests should continue to pass. There should be no compatibility changes for downstream consumers.
If you would prefer to review these changes in a more fine-grained way, it can be split out into multiple PRs without any trouble. Few of the commits depend upon each other, so can be freely cherry-picked.