(final Object object, final String name)
| 40 | } |
| 41 | |
| 42 | public static void notNull(final Object object, final String name) |
| 43 | { |
| 44 | if (object == null) |
| 45 | { |
| 46 | throw new IllegalArgumentException("'" + name + "' must not be null"); |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | public static void notEmpty(final Collection<?> collection, final String name) |
| 51 | { |
no outgoing calls
no test coverage detected