kinow commented on code in PR #417:
URL: https://github.com/apache/opennlp/pull/417#discussion_r868413898
##########
opennlp-tools/src/main/java/opennlp/tools/util/model/BaseModel.java:
##########
@@ -574,6 +574,10 @@ public final void serialize(OutputStream out) throws
IOException {
Object artifact = entry.getValue();
+ if (artifact == null) {
+ continue;
+ }
+
Review Comment:
Would it be possible to have a test for this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]