Little fix in java's yaml