add comments to CountersSourceCount for null param usage

This commit is contained in:
xenohedron 2024-05-21 00:57:32 -04:00
parent 51546e7c78
commit 398744dfbe
5 changed files with 14 additions and 4 deletions

View file

@ -12,6 +12,16 @@ public class CountersSourceCount implements DynamicValue {
private final CounterType counterType;
/**
* Number of counters of any type on the source permanent
*/
public CountersSourceCount() {
this((CounterType) null);
}
/**
* Number of counters of the specified type on the source permanent
*/
public CountersSourceCount(CounterType counterType) {
this.counterType = counterType;
}