Fix all java warnings