Wouldn't this be taken care of by `limit = OaeUtil.getNumberParam(limit, 10, 1);` ?