If the style checker is forcing you into these, then fine; else there is no need for these kind of whitespace changes.