code: public static void isNotEmpty( Collection<?> argument,
                                     String name ) {
          isNotNull(argument, name);
          if (argument.isEmpty()) {
              throw new IllegalArgumentException(CommonI18n.argumentMayNotBeEmpty.text(name));
          }
      }
docs: Check that the collection is not empty
  
  @param argument Collection
  @param name The name of the argument
  @throws IllegalArgumentException If collection is null or empty