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.