MCPcopy Create free account
hub / github.com/0opslab/opslabJutil / notNull

Method notNull

src/main/java/com/opslab/util/AssertUtil.java:14–18  ·  view source on GitHub ↗

判断对象是否为空 @param object @param message

(Object object, String message)

Source from the content-addressed store, hash-verified

12 * @param message
13 */
14 public static void notNull(Object object, String message) {
15 if (object == null) {
16 throw new IllegalArgumentException(message);
17 }
18 }
19}

Callers 2

writeMethod · 0.95
getFileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected