java bloated code