From fa7367667a2daba6cba00d3df535de8d8a358bda Mon Sep 17 00:00:00 2001 From: Paul Irwin Date: Mon, 6 Jan 2025 16:50:22 -0700 Subject: [PATCH] Fix unit test namespace and doc comment --- src/Lucene.Net.Tests/Support/Text/TestEncodingExtensions.cs | 3 +-- src/Lucene.Net/Support/Text/EncodingExtensions.cs | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Lucene.Net.Tests/Support/Text/TestEncodingExtensions.cs b/src/Lucene.Net.Tests/Support/Text/TestEncodingExtensions.cs index 6f6a266bfe..55123917e2 100644 --- a/src/Lucene.Net.Tests/Support/Text/TestEncodingExtensions.cs +++ b/src/Lucene.Net.Tests/Support/Text/TestEncodingExtensions.cs @@ -1,10 +1,9 @@ using Lucene.Net.Attributes; -using Lucene.Net.Support.Text; using Lucene.Net.Util; using NUnit.Framework; using System.Text; -namespace Lucene.Net.Text +namespace Lucene.Net.Support.Text { /* * Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/src/Lucene.Net/Support/Text/EncodingExtensions.cs b/src/Lucene.Net/Support/Text/EncodingExtensions.cs index 4e3cd5af4b..320da35e67 100644 --- a/src/Lucene.Net/Support/Text/EncodingExtensions.cs +++ b/src/Lucene.Net/Support/Text/EncodingExtensions.cs @@ -35,8 +35,8 @@ internal static class EncodingExtensions /// Thus, to translate Java code that catches any of those exceptions, you can catch /// . /// - /// The encoding to set the fallbacks on. - /// A new instance with the fallbacks set to throw an exception. + /// The encoding to clone and set the fallback on. + /// A new instance with the fallback set to throw an exception. /// /// Note that it is necessary to return a new, cloned instance because /// the property is read-only without cloning.