Package com.palantir.baseline.refaster
Class TritiumReplaceGauge<T>
- java.lang.Object
-
- com.palantir.baseline.refaster.TritiumReplaceGauge<T>
-
public final class TritiumReplaceGauge<T> extends java.lang.ObjectRemove unnecessary 'remove' invocation prior to a 'registerWithReplacement'. This refaster rule pairs with the 'UnsafeGaugeRegistration' error-prone rule to replace 'registry.remove(name); registry.gauge(name, value);' with a single 'registerWithReplacement' call. This refaster rule intentionally doesn't check the 'gauge' method in order to avoid creating changes that don't compile when older versions of Tritium are present.
-
-
Constructor Summary
Constructors Constructor Description TritiumReplaceGauge()
-