Skip to content

Commit

Permalink
Fix unit test namespace and doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirwin committed Jan 6, 2025
1 parent ba468c1 commit fa73676
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/Lucene.Net.Tests/Support/Text/TestEncodingExtensions.cs
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/Lucene.Net/Support/Text/EncodingExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ internal static class EncodingExtensions
/// Thus, to translate Java code that catches any of those exceptions, you can catch
/// <see cref="DecoderFallbackException"/>.
/// </summary>
/// <param name="encoding">The encoding to set the fallbacks on.</param>
/// <returns>A new <see cref="Encoding"/> instance with the fallbacks set to throw an exception.</returns>
/// <param name="encoding">The encoding to clone and set the fallback on.</param>
/// <returns>A new <see cref="Encoding"/> instance with the fallback set to throw an exception.</returns>
/// <remarks>
/// Note that it is necessary to return a new, cloned <see cref="Encoding"/> instance because
/// the <see cref="Encoding.DecoderFallback"/> property is read-only without cloning.
Expand Down

0 comments on commit fa73676

Please sign in to comment.