Remove all unnecessary parenthesis where object initialisers are used

Enforces at CI.
This commit is contained in:
Dean Herbert
2017-07-13 15:02:45 +09:00
parent 80f88cf5bb
commit de46f3ab07
14 changed files with 15 additions and 15 deletions

View File

@ -198,7 +198,7 @@ namespace osu.Desktop.VisualTests.Tests
AutoSizeAxes = Axes.Both;
Direction = FillDirection.Horizontal;
Add(new OsuSpriteText { Text = header + @": ", TextSize = text_size });
Add(valueText = new OsuSpriteText() { TextSize = text_size });
Add(valueText = new OsuSpriteText { TextSize = text_size });
Margin = new MarginPadding(margin);
}
}