Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hutchinson <m.j.hutchinson@gmail.com>2015-01-20 23:07:00 +0300
committerMichael Hutchinson <m.j.hutchinson@gmail.com>2015-01-20 23:07:00 +0300
commit939da071f40761332c700db87c703a5525babc88 (patch)
tree33dcbbaaf9e45a8de95c211296416079af748b12 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools
parent3f2fd09a093e8d54ea5e4a923cb49dcc20e08995 (diff)
[T4] Minor style/grammar fixup
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/CustomToolService.cs22
1 files changed, 10 insertions, 12 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/CustomToolService.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/CustomToolService.cs
index 107e034efc..d7730156c7 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/CustomToolService.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/CustomToolService.cs
@@ -25,18 +25,17 @@
// THE SOFTWARE.
using System;
-using MonoDevelop.Ide.Extensions;
+using System.CodeDom.Compiler;
using System.Collections.Generic;
-using MonoDevelop.Core;
-using Mono.Addins;
-using MonoDevelop.Projects;
using System.IO;
-using MonoDevelop.Ide.Tasks;
-using System.CodeDom.Compiler;
-using MonoDevelop.Ide.Gui;
-using MonoDevelop.Core.ProgressMonitoring;
using System.Linq;
using System.Threading;
+using Mono.Addins;
+using MonoDevelop.Core;
+using MonoDevelop.Core.ProgressMonitoring;
+using MonoDevelop.Ide.Extensions;
+using MonoDevelop.Ide.Tasks;
+using MonoDevelop.Projects;
namespace MonoDevelop.Ide.CustomTools
{
@@ -119,14 +118,13 @@ namespace MonoDevelop.Ide.CustomTools
} else {
Update (monitor, fileEnumerator, force, 0, 0, 0);
}
-
}
static void Update (IProgressMonitor monitor, IEnumerator<ProjectFile> fileEnumerator, bool force, int succeeded, int warnings, int errors)
{
ProjectFile file = fileEnumerator.Current;
ProjectFile genFile = null;
- ISingleFileCustomTool tool = null;
+ ISingleFileCustomTool tool;
//Find the first file in the collection, which has got generator tool
while (((tool = GetGenerator (file.Generator)) == null
@@ -179,9 +177,9 @@ namespace MonoDevelop.Ide.CustomTools
monitor.EndTask ();
if (errors > 0)
- monitor.ReportError (GettextCatalog.GetString ("Errors in files generation."), null);
+ monitor.ReportError (GettextCatalog.GetString ("Errors in file generation."), null);
else if (warnings > 0)
- monitor.ReportSuccess (GettextCatalog.GetString ("Warnings in files generation."));
+ monitor.ReportSuccess (GettextCatalog.GetString ("Warnings in file generation."));
else
monitor.ReportSuccess (GettextCatalog.GetString ("Generated files successfully."));