Protect on bad container resources

This commit is contained in:
Joakim Erdfelt 2022-10-17 15:21:33 -05:00
parent 02142c2e30
commit b1c00223aa
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
1 changed files with 1 additions and 0 deletions

View File

@ -718,6 +718,7 @@ public class MetaData
public void addContainerResource(Resource jar) public void addContainerResource(Resource jar)
{ {
Objects.requireNonNull(jar);
_orderedContainerResources.add(jar); _orderedContainerResources.add(jar);
} }