diff --git a/protocol/src/main/java/com/zfoo/protocol/util/MathSafeUtil.java b/protocol/src/main/java/com/zfoo/protocol/util/MathSafeUtil.java index 04120c8d1..8775d6277 100644 --- a/protocol/src/main/java/com/zfoo/protocol/util/MathSafeUtil.java +++ b/protocol/src/main/java/com/zfoo/protocol/util/MathSafeUtil.java @@ -3,9 +3,7 @@ /** * @author Boone Jack */ -public class MathSafeUtil { - private MathSafeUtil() { - } +public abstract class MathSafeUtil { public static int findNextPositivePowerOfTwo(int value) { assert value > Integer.MIN_VALUE && value < IOUtils.BYTES_PER_MB;