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 2022/11/21 01:41:15 UTC
[lucenenet] 11/13: BenchmarkDotNet: added NamespacePatch.cs file to define namespaces that didn't exist in old versions of Lucene.NET
This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a commit to branch benchmarkdotnet
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
commit 88f86334034e21f2d72320c1175eeb24aeb74109
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Wed Apr 21 15:07:35 2021 +0700
BenchmarkDotNet: added NamespacePatch.cs file to define namespaces that didn't exist in old versions of Lucene.NET
---
.../Util/NamespacePatch.cs | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/src/Lucene.Net.Tests.BenchmarkDotNet/Util/NamespacePatch.cs b/src/Lucene.Net.Tests.BenchmarkDotNet/Util/NamespacePatch.cs
new file mode 100644
index 000000000..16b2a07dc
--- /dev/null
+++ b/src/Lucene.Net.Tests.BenchmarkDotNet/Util/NamespacePatch.cs
@@ -0,0 +1,21 @@
+/*
+ * 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.
+ */
+
+// Didn't exist in early versions of Lucene.NET - this is just to patch those cases so using directives will compile
+namespace Lucene.Net.Documents.Extensions
+{
+}