JBIDE-13584 refactor variables and remove getListSize() >> master