Skip to content

Commit 6b5786c

Browse files
committed
Make some classes in internal folder as really to be internal
1 parent 3497094 commit 6b5786c

File tree

5 files changed

+3
-9
lines changed

5 files changed

+3
-9
lines changed

dotnet/src/webdriver/Internal/Base64UrlEncoder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace OpenQA.Selenium.Internal
2323
/// <summary>
2424
/// Encodes and Decodes strings as Base64Url encoding.
2525
/// </summary>
26-
public static class Base64UrlEncoder
26+
internal static class Base64UrlEncoder
2727
{
2828
private const char base64PadCharacter = '=';
2929
private const string doubleBase64PadCharacter = "==";

dotnet/src/webdriver/Internal/IWebDriverObjectReference.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@
1616
// limitations under the License.
1717
// </copyright>
1818

19-
using System;
2019
using System.Collections.Generic;
21-
using System.Linq;
22-
using System.Text;
2320

2421
namespace OpenQA.Selenium.Internal
2522
{

dotnet/src/webdriver/Internal/PortUtilities.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace OpenQA.Selenium.Internal
2424
/// <summary>
2525
/// Encapsulates methods for working with ports.
2626
/// </summary>
27-
public static class PortUtilities
27+
internal static class PortUtilities
2828
{
2929
/// <summary>
3030
/// Finds a random, free port to be listened on.

dotnet/src/webdriver/Internal/ResourceUtilities.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
// limitations under the License.
1717
// </copyright>
1818

19-
using System;
20-
using System.Collections.Generic;
21-
using System.Diagnostics;
2219
using System.Globalization;
2320
using System.IO;
2421
using System.Reflection;

dotnet/src/webdriver/Internal/ReturnedCookie.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace OpenQA.Selenium.Internal
2424
/// <summary>
2525
/// Represents a cookie returned to the driver by the browser.
2626
/// </summary>
27-
public class ReturnedCookie : Cookie
27+
internal class ReturnedCookie : Cookie
2828
{
2929

3030
/// <summary>

0 commit comments

Comments
 (0)