static Iterator<? extends ErrorMessage> getErrorIterator(ErrorHit h) {
        if (h == null) {
            return new ArrayList<ErrorMessage>(0).iterator();
        } else {
            return h.errorIterator();
        }
    }
Some leftover static methods.

@author Steinar Knutsen
container-search/src/main/java/com/yahoo/search/handler/SearchResponse.java