AtomicLong
または
AtomicInteger
変数の型を
java.util.concurrent.atomic.LongAdder
型に変換し、「
型の移行
」リファクタリングを使用して変数の使用箇所を更新します。