WICKET-5735 maxFileSize code review fixes