File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
SequenceAnalysis/src/org/labkey/sequenceanalysis/pipeline Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 5656import java .util .Collection ;
5757import java .util .Collections ;
5858import java .util .HashMap ;
59+ import java .util .HashSet ;
5960import java .util .List ;
6061import java .util .Map ;
6162import java .util .stream .Collectors ;
@@ -203,12 +204,12 @@ public Collection<String> getDockerVolumes()
203204 }).collect (Collectors .toSet ());
204205 }
205206
206- return _dockerVolumes == null ? Collections .emptySet () : Collections . unmodifiableCollection (_dockerVolumes );
207+ return _dockerVolumes == null ? Collections .emptySet () : new HashSet <> (_dockerVolumes );
207208 }
208209
209210 public void setDockerVolumes (Collection <String > dockerVolumes )
210211 {
211- _dockerVolumes = dockerVolumes ;
212+ _dockerVolumes = dockerVolumes == null ? null : new HashSet <>( dockerVolumes ) ;
212213 }
213214
214215 public void setDescription (String description )
You can’t perform that action at this time.
0 commit comments