We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a3a973 commit 3f8fa41Copy full SHA for 3f8fa41
src/main/java/org/scijava/optional/AbstractOptions.java
@@ -23,6 +23,9 @@ protected T copyOrThis()
23
24
protected T append( final T additionalOptions )
25
{
26
+ if ( additionalOptions == null )
27
+ return ( T ) this;
28
+
29
T concat = copyOrThis();
30
additionalOptions.theOptions.forEach( concat.theOptions::put );
31
return concat;
0 commit comments