Java conversions taken care