Skip to content

Commit 56d848d

Browse files
committed
Remove unused using statements and fix typos
1 parent 6ce26ee commit 56d848d

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed

src/AdditionalPatterns/NullObject/NullObjectLibrary/SmartphoneApplicationExample/SmartphoneApplicationExecutor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ public static void Execute()
1818
gmail.Open();
1919
gmail.Close();
2020

21-
// Null exception will not be thrown if application is not found
22-
// by specified process ID. We return default (NULL) object.
21+
// Null exception won't be thrown if an application with the specified process ID can't be found.
22+
// In that case, default (NULL) object will be returned.
2323
var youtube = applicationRepository.Find(invalidProcessId);
2424
youtube.Open();
2525
youtube.Close();

src/BehavioralPatterns/ChainOfResponsibility/ChainOfResponsibilityLibrary/LoggingExample/Common/Logger.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System;
2-
3-
namespace ChainOfResponsibilityLibrary.LoggingExample.Common
1+
namespace ChainOfResponsibilityLibrary.LoggingExample.Common
42
{
53
public abstract class Logger
64
{

src/BehavioralPatterns/ChainOfResponsibility/ChainOfResponsibilityLibrary/LoggingExample/LoggingExecutor.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ public static void Execute()
1313

1414
Logger loggerChain = InitializeLoggerChain();
1515

16-
var infoMessage = "This is an information.";
17-
var debugMessage = "This is an debug level information.";
18-
var errorMessage = "This is an error information.";
16+
var infoMessage = "This is information.";
17+
var debugMessage = "This is debug level information.";
18+
var errorMessage = "This is error information.";
1919

2020
loggerChain.Log(LogLevel.Info, infoMessage);
2121
Console.WriteLine();

src/BehavioralPatterns/Strategy/StrategyLibrary/SortingExample/Strategies/SortByLastName.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
1+
using System.Collections.Generic;
32
using StrategyLibrary.SortingExample.Strategies.Common;
43

54
namespace StrategyLibrary.SortingExample.Strategies

0 commit comments

Comments
 (0)