Skip to content

Commit 96f6732

Browse files
author
Miltos
authored
Bug fix
1 parent 3089019 commit 96f6732

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

DuplicateCodeDetector/CloneDetector.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ private void AddDuplicate(string file1, string file2)
5858

5959
public void BuildIndexForProjects(string tokenizedFilesPath)
6060
{
61-
var allFiles = Directory.GetFiles(tokenizedFilesPath, "*.gz")
62-
.Select(f=> Path.Combine(tokenizedFilesPath, f));
61+
var allFiles = Directory.GetFiles(tokenizedFilesPath, "*.gz");
6362
BuildIndexFromFiles(allFiles);
6463
}
6564

0 commit comments

Comments
 (0)