fix CodeLineMustNotEndWithWhitespace

This commit is contained in:
Matthias Mailänder
2015-01-25 18:18:31 +01:00
parent 47e2d9d623
commit 24deec2a7b
18 changed files with 33 additions and 38 deletions

View File

@@ -29,7 +29,7 @@ namespace OpenRA.Mods.RA.Activities
protected readonly int DragLength;
protected readonly WPos StartDrag;
protected readonly WPos EndDrag;
protected State dockingState;
public HarvesterDockSequence(Actor self, Actor refinery, int dockAngle, bool isDragRequired, WVec dragOffset, int dragLength)

View File

@@ -1,7 +1,7 @@
#region Copyright & License Information
/*
* Copyright 2007-2015 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
* see COPYING.

View File

@@ -100,7 +100,7 @@ namespace OpenRA.Mods.RA.Widgets.Logic
var songWatcher = widget.GetOrNull<LogicTickerWidget>("SONG_WATCHER");
if (songWatcher != null)
{
songWatcher.OnTick = () =>
songWatcher.OnTick = () =>
{
if (Sound.CurrentMusic == null || currentSong == Sound.CurrentMusic)
return;

View File

@@ -72,7 +72,7 @@ namespace OpenRA.Mods.RA.Widgets.Logic
{
var options = new List<StatsDropDownOption>
{
new StatsDropDownOption
new StatsDropDownOption
{
Title = "Basic",
IsSelected = () => basicStatsHeaders.Visible,
@@ -83,33 +83,33 @@ namespace OpenRA.Mods.RA.Widgets.Logic
DisplayStats(BasicStats);
}
},
new StatsDropDownOption
new StatsDropDownOption
{
Title = "Economy",
IsSelected = () => economyStatsHeaders.Visible,
OnClick = () =>
OnClick = () =>
{
ClearStats();
statsDropDown.GetText = () => "Economy";
DisplayStats(EconomyStats);
}
},
new StatsDropDownOption
new StatsDropDownOption
{
Title = "Production",
IsSelected = () => productionStatsHeaders.Visible,
OnClick = () =>
OnClick = () =>
{
ClearStats();
statsDropDown.GetText = () => "Production";
DisplayStats(ProductionStats);
}
},
new StatsDropDownOption
new StatsDropDownOption
{
Title = "Combat",
IsSelected = () => combatStatsHeaders.Visible,
OnClick = () =>
OnClick = () =>
{
ClearStats();
statsDropDown.GetText = () => "Combat";
@@ -120,7 +120,7 @@ namespace OpenRA.Mods.RA.Widgets.Logic
{
Title = "Earnings (graph)",
IsSelected = () => earnedThisMinuteGraphHeaders.Visible,
OnClick = () =>
OnClick = () =>
{
ClearStats();
statsDropDown.GetText = () => "Earnings (graph)";