Commit 02d116d8 authored by Nico Mack's avatar Nico Mack

Minor changes in copy constructor

parent b558586d
...@@ -88,10 +88,8 @@ public class ModalMarker extends TetherableMarker { ...@@ -88,10 +88,8 @@ public class ModalMarker extends TetherableMarker {
super(original); super(original);
clusteredBundle = original.clusteredBundle; clusteredBundle = original.clusteredBundle;
coronaBundles = TreeMultimap.create(); coronaBundles = original.cloneBundles();
coronaBundles.putAll(original.cloneBundles()); activeBundles = new ArrayList<>(original.activeBundles);
activeBundles = new ArrayList<>();
activeBundles.addAll(original.activeBundles);
} }
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment