lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [02/32] lucenenet git commit: Changing OLD_FORMAT_IMPERSONATION_IS_ACTIVE to non-static property
Date Fri, 12 Aug 2016 13:25:15 GMT
Changing OLD_FORMAT_IMPERSONATION_IS_ACTIVE to non-static property


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

Branch: refs/heads/master
Commit: 655fa1a02f325551936c7b0388963b05204d296a
Parents: 93acfd9
Author: Connie Yau <conniey@microsoft.com>
Authored: Tue Jul 12 05:26:26 2016 -0700
Committer: Connie Yau <conniey@microsoft.com>
Committed: Fri Jul 15 09:28:41 2016 -0700

----------------------------------------------------------------------
 src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/655fa1a0/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs b/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs
index 69de2b0..edc06d7 100644
--- a/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs
+++ b/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs
@@ -196,8 +196,8 @@ namespace Lucene.Net.Util
 
         public LuceneTestCase()
         {
+            OLD_FORMAT_IMPERSONATION_IS_ACTIVE = false;
             String directory = Paths.TempDirectory;
-
             TEMP_DIR = new System.IO.FileInfo(directory);
         }
 
@@ -423,7 +423,7 @@ namespace Lucene.Net.Util
         ///
         /// @lucene.internal
         /// </summary>
-        public static bool OLD_FORMAT_IMPERSONATION_IS_ACTIVE = false;
+        public bool OLD_FORMAT_IMPERSONATION_IS_ACTIVE { get; protected set; }
 
         // -----------------------------------------------------------------
         // Class level (suite) rules.


Mime
View raw message