lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [5/5] lucenenet git commit: Lucene.Net.Analysis.Common.Analysis.Payloads.IPayloadEncoder refactor: renamed encode() > Encode()
Date Wed, 01 Feb 2017 12:49:30 GMT
Lucene.Net.Analysis.Common.Analysis.Payloads.IPayloadEncoder refactor: renamed encode() >
Encode()


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/b43ac82a
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/b43ac82a
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/b43ac82a

Branch: refs/heads/api-work
Commit: b43ac82a6604f5a8a1f46c5e42f2ea0b68a9b257
Parents: fb76758
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Wed Feb 1 18:45:39 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Wed Feb 1 18:48:08 2017 +0700

----------------------------------------------------------------------
 .../Analysis/Payloads/AbstractEncoder.cs                          | 2 +-
 .../Analysis/Payloads/PayloadEncoder.cs                           | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/b43ac82a/src/Lucene.Net.Analysis.Common/Analysis/Payloads/AbstractEncoder.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Payloads/AbstractEncoder.cs b/src/Lucene.Net.Analysis.Common/Analysis/Payloads/AbstractEncoder.cs
index 37b0d31..708b7b2 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Payloads/AbstractEncoder.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Payloads/AbstractEncoder.cs
@@ -27,7 +27,7 @@ namespace Lucene.Net.Analysis.Payloads
     public abstract class AbstractEncoder : IPayloadEncoder
     {
         public abstract BytesRef Encode(char[] buffer, int offset, int length);
-        public virtual BytesRef encode(char[] buffer)
+        public virtual BytesRef Encode(char[] buffer)
         {
             return Encode(buffer, 0, buffer.Length);
         }

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/b43ac82a/src/Lucene.Net.Analysis.Common/Analysis/Payloads/PayloadEncoder.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Payloads/PayloadEncoder.cs b/src/Lucene.Net.Analysis.Common/Analysis/Payloads/PayloadEncoder.cs
index 5f49025..060569e 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Payloads/PayloadEncoder.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Payloads/PayloadEncoder.cs
@@ -29,8 +29,7 @@ namespace Lucene.Net.Analysis.Payloads
     /// </summary>
     public interface IPayloadEncoder
     {
-
-        BytesRef encode(char[] buffer);
+        BytesRef Encode(char[] buffer);
 
         /// <summary>
         /// Convert a char array to a <seealso cref="BytesRef"/> </summary>


Mime
View raw message