Private constructor for TestingMode to prevent instantiation

This commit is contained in:
Ben Woo 2025-01-24 21:51:33 +08:00
parent 7aacd73460
commit d6f63ee2e9

View File

@ -8,6 +8,10 @@ final class TestingMode {
private static boolean enabled = false;
private TestingMode() {
// No instantiation
}
static void enable() {
enabled = true;
}