diff options
author | Néstor Salceda <nestor@mono-cvs.ximian.com> | 2009-02-24 00:05:00 +0300 |
---|---|---|
committer | Néstor Salceda <nestor@mono-cvs.ximian.com> | 2009-02-24 00:05:00 +0300 |
commit | 05195b13abe0343f1a77015457ed40138bf19ad2 (patch) | |
tree | 6dd207ad38c557a97e72635d42c2e0da67c62387 | |
parent | 0c663e615d586b8a5e3914da579ab3cfec04c031 (diff) |
2009-02-23 Néstor Salceda <nestor.salceda@gmail.com>
* AvoidSpeculativeGeneralityRule.cs: Fix a typo. Thanks to Mat
Steeples.
svn path=/trunk/mono-tools/; revision=127804
-rw-r--r-- | gendarme/rules/Gendarme.Rules.Smells/AvoidSpeculativeGeneralityRule.cs | 2 | ||||
-rw-r--r-- | gendarme/rules/Gendarme.Rules.Smells/ChangeLog | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gendarme/rules/Gendarme.Rules.Smells/AvoidSpeculativeGeneralityRule.cs b/gendarme/rules/Gendarme.Rules.Smells/AvoidSpeculativeGeneralityRule.cs index 54af66d0..7d0e8848 100644 --- a/gendarme/rules/Gendarme.Rules.Smells/AvoidSpeculativeGeneralityRule.cs +++ b/gendarme/rules/Gendarme.Rules.Smells/AvoidSpeculativeGeneralityRule.cs @@ -176,7 +176,7 @@ namespace Gendarme.Rules.Smells { private void CheckUnnecesaryDelegation (TypeDefinition type) { if (MostlyMethodsDelegatesCall (type) && InheritsOnlyFromObject (type)) - Runner.Report (type, Severity.Medium, Confidence.Normal, "This class contains a lot of methods that only delegates the call to other. This king of Delegation could be a sign for Speculative Generality"); + Runner.Report (type, Severity.Medium, Confidence.Normal, "This class contains a lot of methods that only delegates the call to other. This kind of Delegation could be a sign for Speculative Generality"); } static bool AvoidUnusedParametersRuleScheduled (IRunner runner) diff --git a/gendarme/rules/Gendarme.Rules.Smells/ChangeLog b/gendarme/rules/Gendarme.Rules.Smells/ChangeLog index 2d5e00ab..5a8ac571 100644 --- a/gendarme/rules/Gendarme.Rules.Smells/ChangeLog +++ b/gendarme/rules/Gendarme.Rules.Smells/ChangeLog @@ -1,3 +1,8 @@ +2009-02-23 Néstor Salceda <nestor.salceda@gmail.com> + + * AvoidSpeculativeGeneralityRule.cs: Fix a typo. Thanks to Mat + Steeples. + 2008-12-22 Néstor Salceda <nestor.salceda@gmail.com> * AvoidSwitchStatementsRule.cs: Added the code for handling the |