lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lai...@apache.org
Subject lucenenet git commit: (guidotag via laimis) this closes #84
Date Sat, 07 Feb 2015 22:17:06 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master e2f872dc5 -> 302bc356f


(guidotag via laimis) this closes #84


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

Branch: refs/heads/master
Commit: 302bc356fe744201c24bec0328521f34fd91cb29
Parents: e2f872d
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Sat Feb 7 17:15:04 2015 -0500
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Sat Feb 7 17:15:04 2015 -0500

----------------------------------------------------------------------
 src/Lucene.Net.Core/Util/Automaton/SpecialOperations.cs | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/302bc356/src/Lucene.Net.Core/Util/Automaton/SpecialOperations.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Util/Automaton/SpecialOperations.cs b/src/Lucene.Net.Core/Util/Automaton/SpecialOperations.cs
index 75c8f86..66980c4 100644
--- a/src/Lucene.Net.Core/Util/Automaton/SpecialOperations.cs
+++ b/src/Lucene.Net.Core/Util/Automaton/SpecialOperations.cs
@@ -1,3 +1,4 @@
+using System;
 using Lucene.Net.Support;
 using System.Collections;
 using System.Collections.Generic;
@@ -135,7 +136,9 @@ namespace Lucene.Net.Util.Automaton
                     if (t.Min_Renamed == t.Max_Renamed && !visited.Contains(t.To))
                     {
                         //b.appendCodePoint(t.Min_Renamed);
-                        b.Append(t.Min_Renamed);
+
+                        b.Append(Character.ToChars(t.Min_Renamed));
+
                         s = t.To;
                         done = false;
                     }


Mime
View raw message