cleanup code

This commit is contained in:
三丙
2024-10-10 10:41:40 +08:00
parent 966b683b76
commit 516fe1d091

View File

@@ -35,12 +35,10 @@ public class Validator {
}
}
public static void checkNotNull(Object reference, String errorMessage) {
if (reference == null) {
throw new IncorrectParameterException(errorMessage);
}
}
}