Better Java style