Skip to content

Commit

Permalink
Using cleanups
Browse files Browse the repository at this point in the history
rmaclean committed May 19, 2020
1 parent 8d2ad38 commit 23330f7
Showing 6 changed files with 8 additions and 10 deletions.
1 change: 0 additions & 1 deletion Commands/InitCommand.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
namespace twot
{
using System;
using System.CommandLine;
using System.CommandLine.Invocation;
using System.IO;
1 change: 0 additions & 1 deletion Commands/ReadyCommand.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
namespace twot
{
using System;
using Tweetinvi;
using System.CommandLine;
using System.CommandLine.Invocation;
1 change: 1 addition & 0 deletions ConsoleHelper.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
namespace twot
{
using System;

static class ConsoleHelper
{
public static void Writeln(ConsoleColor colour, string message)
1 change: 0 additions & 1 deletion ProgressMeters/ProgressBar.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
namespace twot
{
using System;
using System.Threading;

class ProgressBar : ProgressMeter
{
2 changes: 1 addition & 1 deletion ProgressMeters/ProgressMeter.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.Runtime.InteropServices;
namespace twot
{
using System;
using System.Threading;
using System.Runtime.InteropServices;

abstract class ProgressMeter : IDisposable
{
12 changes: 6 additions & 6 deletions ThreadedLogger.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
using System.Text;
using System.IO;
// originally from https://stackoverflow.com/a/1187568/53236

using System;
using System.Collections.Generic;
using System.Threading;

namespace twot
{
using System.Text;
using System.IO;
using System;
using System.Collections.Generic;
using System.Threading;

class ThreadedLogger : IDisposable
{
readonly Queue<Action> queue = new Queue<Action>();

0 comments on commit 23330f7

Please sign in to comment.