Code Cleanup: Assemblies

This commit is contained in:
Rick Falkvinge
2014-12-04 23:55:03 +01:00
parent 93abb92c67
commit fa3b05da6f
458 changed files with 13969 additions and 13709 deletions
+6 -7
View File
@@ -2,7 +2,7 @@ namespace Swarmops.Utility.BotCode
{
public class UpdateStatsCache
{
static public void Run()
public static void Run()
{
BotLog.Write(1, "UpdateStatsCache", "Entering (obsoleted does nothing");
@@ -11,14 +11,15 @@ namespace Swarmops.Utility.BotCode
BotLog.Write(1, "UpdateStatsCache", "Exiting");
}
private static void UpdateBallotDistroData ()
private static void UpdateBallotDistroData()
{
//Empty method now this is done from the web app.
}
private static void ObsoletedUpdateBallotDistroData ()
private static void ObsoletedUpdateBallotDistroData()
{
#region Obsoleted commented code
//BotLog.Write(2, "BallotDistroData", "Entering");
//BotLog.Write(2, "BallotDistroData", "Getting geographic voter counts...");
@@ -175,12 +176,9 @@ namespace Swarmops.Utility.BotCode
//BotLog.Write(2, "BallotDistroData", "Done collecting election day data.");
//BotLog.Write(2, "BallotDistroData", "Aggregating per electoral circuit.");
//// This is not very optimized, but it runs only once per hour and
//// has easy-to-follow logic.
@@ -234,7 +232,8 @@ namespace Swarmops.Utility.BotCode
//Persistence.Key["BallotCoverage-SE"] = coverageData.ToXml();
//BotLog.Write(2, "BallotDistroData", "Exiting");
#endregion
}
}
}
}