fixed copy constructor for RemoveAllCountersSourceCost

This commit is contained in:
Evan Kranzler 2020-09-10 17:09:00 -04:00
parent 439303882c
commit 5c0e7d6b2e

View file

@ -22,9 +22,10 @@ public class RemoveAllCountersSourceCost extends CostImpl {
this.text = "Remove all " + counterType.getName() + " counters from {this}";
}
public RemoveAllCountersSourceCost(RemoveAllCountersSourceCost cost) {
private RemoveAllCountersSourceCost(final RemoveAllCountersSourceCost cost) {
super(cost);
this.counterType = cost.counterType;
this.removedCounters = cost.removedCounters;
}
@Override