Removed misleading spaces from some java-examples of chapter 2