Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
codeconscious committed Jun 5, 2024
1 parent 4e69d89 commit 31416f6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions AudioTagger.Console/TagArtworkRemover.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ namespace AudioTagger.Console;
public sealed class TagArtworkRemover : IPathOperation
{
public void Start(
IReadOnlyCollection<MediaFile> filesData,
IReadOnlyCollection<MediaFile> mediaFiles,
DirectoryInfo workingDirectory,
Settings settings,
IPrinter printer)
{
var watch = new Watch();
var failures = 0;

foreach (var file in filesData)
foreach (MediaFile file in mediaFiles)
{
try
{
Expand Down
4 changes: 2 additions & 2 deletions AudioTagger.Console/TagRewriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ namespace AudioTagger.Console;
public sealed class TagRewriter : IPathOperation
{
public void Start(
IReadOnlyCollection<MediaFile> filesData,
IReadOnlyCollection<MediaFile> mediaFiles,
DirectoryInfo workingDirectory,
Settings settings,
IPrinter printer)
Expand All @@ -12,7 +12,7 @@ public void Start(
var failures = 0;

Result result;
foreach (MediaFile file in filesData)
foreach (MediaFile file in mediaFiles)
{
result = file.RewriteFileTags();
if (result.IsFailed)
Expand Down
2 changes: 1 addition & 1 deletion AudioTagger.Library/IPathOperation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace AudioTagger;

public interface IPathOperation
{
public void Start(IReadOnlyCollection<MediaFile> filesData,
public void Start(IReadOnlyCollection<MediaFile> mediaFiles,
DirectoryInfo workingDirectory,
Settings settings,
IPrinter printer);
Expand Down

0 comments on commit 31416f6

Please sign in to comment.