From b2400bb5bcb79366d730d9bbcdde202725c1167c Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 6 Jan 2013 15:58:11 +0100 Subject: [PATCH] fix coding style --- SparkleLib/Git/SparkleFetcherGit.cs | 2 +- SparkleLib/Git/SparkleRepoGit.cs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/SparkleLib/Git/SparkleFetcherGit.cs b/SparkleLib/Git/SparkleFetcherGit.cs index 216c7b9c..338d4b28 100755 --- a/SparkleLib/Git/SparkleFetcherGit.cs +++ b/SparkleLib/Git/SparkleFetcherGit.cs @@ -135,7 +135,7 @@ namespace SparkleLib.Git { double number = 0.0; if (match.Success) { - number = double.Parse (match.Groups [1].Value, new CultureInfo("en-US")); + number = double.Parse (match.Groups [1].Value, new CultureInfo ("en-US")); // The cloning progress consists of two stages: the "Compressing // objects" stage which we count as 20% of the total progress, and diff --git a/SparkleLib/Git/SparkleRepoGit.cs b/SparkleLib/Git/SparkleRepoGit.cs index f859c24c..dc3c2952 100644 --- a/SparkleLib/Git/SparkleRepoGit.cs +++ b/SparkleLib/Git/SparkleRepoGit.cs @@ -257,7 +257,7 @@ namespace SparkleLib.Git { double number = 0.0; if (match.Success) { - number = double.Parse (match.Groups [1].Value, new CultureInfo("en-US")); + number = double.Parse (match.Groups [1].Value, new CultureInfo ("en-US")); // The pushing progress consists of two stages: the "Compressing // objects" stage which we count as 20% of the total progress, and @@ -272,7 +272,7 @@ namespace SparkleLib.Git { Match speed_match = this.speed_regex.Match (line); if (speed_match.Success) { - speed = double.Parse (speed_match.Groups [1].Value, new CultureInfo("en-US")) * 1024; + speed = double.Parse (speed_match.Groups [1].Value, new CultureInfo ("en-US")) * 1024; if (speed_match.Groups [2].Value.Equals ("M")) speed = speed * 1024; @@ -339,7 +339,7 @@ namespace SparkleLib.Git { double number = 0.0; if (match.Success) { - number = double.Parse (match.Groups [1].Value, new CultureInfo("en-US")); + number = double.Parse (match.Groups [1].Value, new CultureInfo ("en-US")); // The fetching progress consists of two stages: the "Compressing // objects" stage which we count as 20% of the total progress, and @@ -354,7 +354,7 @@ namespace SparkleLib.Git { Match speed_match = this.speed_regex.Match (line); if (speed_match.Success) { - speed = double.Parse (speed_match.Groups [1].Value, new CultureInfo("en-US")) * 1024; + speed = double.Parse (speed_match.Groups [1].Value, new CultureInfo ("en-US")) * 1024; if (speed_match.Groups [2].Value.Equals ("M")) speed = speed * 1024;