You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2017/01/31 17:55:48 UTC
[15/50] [abbrv] lucenenet git commit: Lucene.Net.Core.Support:
Deleted unused TextSupport class
Lucene.Net.Core.Support: Deleted unused TextSupport class
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/3d57305f
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/3d57305f
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/3d57305f
Branch: refs/heads/api-work
Commit: 3d57305fd4ad61376a9969a9e883e0eae76e0d00
Parents: 8bb1cc9
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Tue Jan 31 12:50:59 2017 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Tue Jan 31 12:50:59 2017 +0700
----------------------------------------------------------------------
src/Lucene.Net.Core/Lucene.Net.csproj | 1 -
src/Lucene.Net.Core/Support/TextSupport.cs | 49 -------------------------
2 files changed, 50 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/3d57305f/src/Lucene.Net.Core/Lucene.Net.csproj
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Lucene.Net.csproj b/src/Lucene.Net.Core/Lucene.Net.csproj
index 18258f7..4d0feb2 100644
--- a/src/Lucene.Net.Core/Lucene.Net.csproj
+++ b/src/Lucene.Net.Core/Lucene.Net.csproj
@@ -687,7 +687,6 @@
<Compile Include="Support\Number.cs" />
<Compile Include="Support\OS.cs" />
<Compile Include="Support\SharpZipLib.cs" />
- <Compile Include="Support\TextSupport.cs" />
<Compile Include="Support\ThreadClass.cs" />
<Compile Include="Support\ThreadLock.cs" />
<Compile Include="Support\ValueHashSet.cs" />
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/3d57305f/src/Lucene.Net.Core/Support/TextSupport.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Support/TextSupport.cs b/src/Lucene.Net.Core/Support/TextSupport.cs
deleted file mode 100644
index 6a1c886..0000000
--- a/src/Lucene.Net.Core/Support/TextSupport.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
-*/
-
-namespace Lucene.Net.Support
-{
- public class TextSupport
- {
- /// <summary>
- /// Copies an array of chars obtained from a String into a specified array of chars
- /// </summary>
- /// <param name="sourceString">The String to get the chars from</param>
- /// <param name="sourceStart">Position of the String to start getting the chars</param>
- /// <param name="sourceEnd">Position of the String to end getting the chars</param>
- /// <param name="destinationArray">Array to return the chars</param>
- /// <param name="destinationStart">Position of the destination array of chars to start storing the chars</param>
- /// <returns>An array of chars</returns>
- public static void GetCharsFromString(string sourceString, int sourceStart, int sourceEnd, char[] destinationArray, int destinationStart)
- {
- int sourceCounter;
- int destinationCounter;
- sourceCounter = sourceStart;
- destinationCounter = destinationStart;
- while (sourceCounter < sourceEnd)
- {
- destinationArray[destinationCounter] = (char)sourceString[sourceCounter];
- sourceCounter++;
- destinationCounter++;
- }
- }
- }
-}
\ No newline at end of file