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 2020/07/15 22:35:58 UTC

[lucenenet] 06/06: Added missing license headers

This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit 0446a4eb920067595aa96c299ea9b5b53901d275
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Thu Jul 16 05:09:30 2020 +0700

    Added missing license headers
---
 .../Support/Language/Replacement.cs                   | 19 ++++++++++++++++++-
 src/Lucene.Net/Support/Diagnostics/Debugging.cs       | 19 ++++++++++++++++++-
 2 files changed, 36 insertions(+), 2 deletions(-)

diff --git a/src/Lucene.Net.Analysis.Phonetic/Support/Language/Replacement.cs b/src/Lucene.Net.Analysis.Phonetic/Support/Language/Replacement.cs
index be82912..723a70d 100644
--- a/src/Lucene.Net.Analysis.Phonetic/Support/Language/Replacement.cs
+++ b/src/Lucene.Net.Analysis.Phonetic/Support/Language/Replacement.cs
@@ -1,7 +1,24 @@
-using System.Text.RegularExpressions;
+using System.Text.RegularExpressions;
 
 namespace Lucene.Net.Analysis.Phonetic.Language
 {
+    /*
+     * 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.
+     */
+
     /// <summary>
     /// Provides an easy means to cache a culture-invariant pre-compiled regular expression
     /// and its replacement value. This class doesn't do any caching itself, it is meant to
diff --git a/src/Lucene.Net/Support/Diagnostics/Debugging.cs b/src/Lucene.Net/Support/Diagnostics/Debugging.cs
index 0a02efc..ecde166 100644
--- a/src/Lucene.Net/Support/Diagnostics/Debugging.cs
+++ b/src/Lucene.Net/Support/Diagnostics/Debugging.cs
@@ -1,7 +1,24 @@
-using Lucene.Net.Util;
+using Lucene.Net.Util;
 
 namespace Lucene.Net.Diagnostics
 {
+    /*
+     * 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.
+     */
+
     // LUCENENET: This can only be named Debug if we merge it with the Debug
     // class from Lucene.Net.TestFramework because it is in the same namespace.
     // But that class is dependent upon AssertionException, which is only for testing.