Lucene.Net.Core: Removed RectangularArrays (no longer in use)
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/a7379083 Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/a7379083 Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/a7379083 Branch: refs/heads/api-work Commit: a73790837d33f7693a10b1f10bb55b9fb7514deb Parents: 4ac9961 Author: Shad Storhaug <[email protected]> Authored: Sat Apr 1 06:09:47 2017 +0700 Committer: Shad Storhaug <[email protected]> Committed: Sat Apr 1 07:52:05 2017 +0700 ---------------------------------------------------------------------- src/Lucene.Net.Core/RectangularArrays.cs | 70 --------------------------- src/Lucene.Net.Core/project.json | 8 +-- 2 files changed, 1 insertion(+), 77 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a7379083/src/Lucene.Net.Core/RectangularArrays.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Core/RectangularArrays.cs b/src/Lucene.Net.Core/RectangularArrays.cs deleted file mode 100644 index cb791e5..0000000 --- a/src/Lucene.Net.Core/RectangularArrays.cs +++ /dev/null @@ -1,70 +0,0 @@ -//---------------------------------------------------------------------------------------- -// Copyright � 2007 - 2013 Tangible Software Solutions Inc. -// this class can be used by anyone provided that the copyright notice remains intact. -// -// this class provides the logic to simulate Java rectangular arrays, which are jagged -// arrays with inner arrays of the same length. A size of -1 indicates unknown length. -//---------------------------------------------------------------------------------------- -using System.Collections; -internal static partial class RectangularArrays -{ - internal static ArrayList[][] ReturnRectangularArrayListArray(int Size1, int Size2) - { - ArrayList[][] Array; - if (Size1 > -1) - { - Array = new ArrayList[Size1][]; - if (Size2 > -1) - { - for (int Array1 = 0; Array1 < Size1; Array1++) - { - Array[Array1] = new ArrayList[Size2]; - } - } - } - else - Array = null; - - return Array; - } - - internal static StateList[][] ReturnRectangularStateListArray(int Size1, int Size2) - { - StateList[][] Array; - if (Size1 > -1) - { - Array = new StateList[Size1][]; - if (Size2 > -1) - { - for (int Array1 = 0; Array1 < Size1; Array1++) - { - Array[Array1] = new StateList[Size2]; - } - } - } - else - Array = null; - - return Array; - } - - internal static StateListNode[][] ReturnRectangularStateListNodeArray(int Size1, int Size2) - { - StateListNode[][] Array; - if (Size1 > -1) - { - Array = new StateListNode[Size1][]; - if (Size2 > -1) - { - for (int Array1 = 0; Array1 < Size1; Array1++) - { - Array[Array1] = new StateListNode[Size2]; - } - } - } - else - Array = null; - - return Array; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a7379083/src/Lucene.Net.Core/project.json ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Core/project.json b/src/Lucene.Net.Core/project.json index 5ad4624..d33e657 100644 --- a/src/Lucene.Net.Core/project.json +++ b/src/Lucene.Net.Core/project.json @@ -14,7 +14,6 @@ "define": [ "FEATURE_TASKMERGESCHEDULER", "NETSTANDARD" ], "compile": { "excludeFiles": [ - "RectangularArrays.cs", "Index/ConcurrentMergeScheduler.cs", "Support/Deflater.cs", "Support/Inflater.cs", @@ -50,12 +49,7 @@ "FEATURE_MARSHAL_BY_REF", "FEATURE_CLOSEABLE", "FEATURE_LIFETIME_SERVICE" - ], - "compile": { - "excludeFiles": [ - "RectangularArrays.cs" - ] - } + ] } } }
