class VelocityUtil {

    public static Object getObject(Object value, Object defaultValue) {
        if (value == null) {
            value = defaultValue;
        }
        return value;
    }

    private  VelocityUtil();

}