Assert that the specified parameter is not null. Throw a NullPointerException if a null is found. @param description the description to pass into the NullPointerException @param object the object to check for null @throws NullPointerException if the object is null
(final String description, final Object object)
| 531 | * @throws NullPointerException if the object is null |
| 532 | */ |
| 533 | public static void notNull(final String description, final Object object) { |
| 534 | if (object == null) { |
| 535 | throw new NullPointerException(description); |
| 536 | } |
| 537 | } |
| 538 | } |
no outgoing calls
no test coverage detected