You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by sy...@apache.org on 2013/04/10 16:07:31 UTC
git commit: Fixing error message for IAttribute binding
Updated Branches:
refs/heads/master 62f018abd -> 6cfc95a4b
Fixing error message for IAttribute binding
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/6cfc95a4
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/6cfc95a4
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/6cfc95a4
Branch: refs/heads/master
Commit: 6cfc95a4b08dbd30cf94f09080d65429ef049b97
Parents: 62f018a
Author: synhershko <sy...@apache.org>
Authored: Wed Apr 10 17:06:20 2013 +0300
Committer: synhershko <sy...@apache.org>
Committed: Wed Apr 10 17:06:20 2013 +0300
----------------------------------------------------------------------
src/core/Util/AttributeSource.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/6cfc95a4/src/core/Util/AttributeSource.cs
----------------------------------------------------------------------
diff --git a/src/core/Util/AttributeSource.cs b/src/core/Util/AttributeSource.cs
index 0f227b8..2254a07 100644
--- a/src/core/Util/AttributeSource.cs
+++ b/src/core/Util/AttributeSource.cs
@@ -247,7 +247,7 @@ namespace Lucene.Net.Util
if (!(attClass.IsInterface && typeof(IAttribute).IsAssignableFrom(attClass)))
{
throw new ArgumentException(
- "AddAttribute() only accepts an interface that extends Attribute, but " +
+ "AddAttribute() only accepts an interface that extends IAttribute, but " +
attClass.FullName + " does not fulfil this contract."
);
}