Skip to content

Commit be724ac

Browse files
committed
Minor cleanup
1 parent 44601b8 commit be724ac

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

Rubberduck.Refactorings/RemoveParameters/RemoveParametersRefactoring.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -260,16 +260,6 @@ private Declaration GetLetterOrSetter(Declaration declaration, DeclarationType d
260260
&& item.DeclarationType == declarationType);
261261
}
262262

263-
private List<int> CreateSeries(int start, int end)
264-
{
265-
var result = new List<int>();
266-
for (var val = start; val <= end; val++)
267-
{
268-
result.Add(val);
269-
}
270-
return result;
271-
}
272-
273263
private void RemoveSignatureParameters(Declaration target)
274264
{
275265
var rewriter = _model.State.GetRewriter(target);
@@ -290,7 +280,6 @@ private void RemoveSignatureParameters(Declaration target)
290280
//the last 'kept' argument.
291281
private void RemoveTrailingComma(IModuleRewriter rewriter, VBAParser.ArgumentListContext argList = null, bool usesNamedParams = false)
292282
{
293-
//return;
294283
var commaLocator = RetrieveTrailingCommaInfo(_model.RemoveParameters, _model.Parameters);
295284
if (!commaLocator.RequiresTrailingCommaRemoval)
296285
{

0 commit comments

Comments
 (0)