public static int getInt(final Integer val) {
        return val != null
                ? val
                : 0;
    }
@return The un-boxed value if non-null, else zero.
stroom-util-shared/src/main/java/stroom/util/shared/NullSafe.java