Skip to content

Commit

Permalink
Forgot comment removal
Browse files Browse the repository at this point in the history
  • Loading branch information
uuqjz committed Aug 14, 2023
1 parent 3cf74fc commit 2672d27
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/src/main/java/de/jplag/merging/MatchMerging.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ private List<Match> mergeNeighbors(List<Match> globalMatches, Submission leftSub
int tokenBetweenLeft = lowerNeighbor.startOfFirst() - upperNeighbor.endOfFirst() - 1;
int tokensBetweenRight = lowerNeighbor.startOfSecond() - upperNeighbor.endOfSecond() - 1;
double averageTokensBetweenMatches = (tokenBetweenLeft + tokensBetweenRight) / 2.0;
// int maxTokensBetweenMatches = Math.max(tokenBetweenLeft,tokensBetweenRight);
// Checking length is not necessary as GST already checked length while computing matches
if (averageTokensBetweenMatches <= options.mergingParameters().seperatingThreshold()
&& !mergeOverlapsFiles(leftSubmission, rightSubmission, upperNeighbor, tokenBetweenLeft, tokensBetweenRight)) {
Expand Down

0 comments on commit 2672d27

Please sign in to comment.