Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 33dabf1

Browse files
Removing unused LastResultOutputProcessor
1 parent b634318 commit 33dabf1

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

src/GitHub.Api/Tasks/BaseOutputProcessor.cs

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -126,28 +126,4 @@ protected override bool ProcessLine(string line, out NPath result)
126126
return true;
127127
}
128128
}
129-
130-
class LastResultOutputProcessor<T> : BaseOutputProcessor<T>
131-
{
132-
public override void LineReceived(string line)
133-
{
134-
T res;
135-
if (ProcessLine(line, out res))
136-
{
137-
Result = res;
138-
RaiseOnEntry(res);
139-
}
140-
}
141-
142-
protected bool ProcessLine(string line, out T result)
143-
{
144-
result = default(T);
145-
if (typeof(T) == typeof(string))
146-
{
147-
result = (T)(object)line;
148-
return true;
149-
}
150-
return false;
151-
}
152-
}
153129
}

0 commit comments

Comments
 (0)