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


The following commit(s) were added to refs/heads/master by this push:
     new 30cf373cf sweep: Review for CA1822: Mark members as static
30cf373cf is described below

commit 30cf373cf5dce30fc0d5dfba2f8a603158967bb5
Author: Nikolaj Brask-Nielsen <[email protected]>
AuthorDate: Tue Oct 25 08:19:52 2022 +0200

    sweep: Review for CA1822: Mark members as static
---
 src/Lucene.Net.Analysis.Common/Analysis/Br/BrazilianStemmer.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Br/BrazilianStemmer.cs 
b/src/Lucene.Net.Analysis.Common/Analysis/Br/BrazilianStemmer.cs
index 0e9572b28..1fbfca927 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Br/BrazilianStemmer.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Br/BrazilianStemmer.cs
@@ -340,7 +340,7 @@ namespace Lucene.Net.Analysis.Br
         /// Replace a <see cref="string"/> suffix by another
         /// </summary>
         /// <returns> the replaced <see cref="string"/> </returns>
-        private string ReplaceSuffix(string value, string toReplace, string 
changeTo)
+        private static string ReplaceSuffix(string value, string toReplace, 
string changeTo) // LUCENENET: CA1822: Mark members as static
         {
             string vvalue;
 
@@ -381,7 +381,7 @@ namespace Lucene.Net.Analysis.Br
         /// See if a suffix is preceded by a <see cref="string"/>
         /// </summary>
         /// <returns> true if the suffix is preceded </returns>
-        private bool SuffixPreceded(string value, string suffix, string 
preceded)
+        private static bool SuffixPreceded(string value, string suffix, string 
preceded) // LUCENENET: CA1822: Mark members as static
         {
             // be-safe !!!
             if ((value is null) || (suffix is null) || (preceded is null) || 
!Suffix(value, suffix))

Reply via email to