mirror of
https://gitee.com/san-bing/JChargePointProtocol
synced 2026-05-04 09:59:55 +08:00
cleanup code
This commit is contained in:
@@ -35,12 +35,10 @@ public class Validator {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public static void checkNotNull(Object reference, String errorMessage) {
|
||||
if (reference == null) {
|
||||
throw new IncorrectParameterException(errorMessage);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user