[core] AnyTokenizer: add TODO for PMD7

This commit is contained in:
Andreas Dangel
2020-09-12 19:14:00 +02:00
parent 5192fdc0f9
commit 3f69e9188b

View File

@ -86,7 +86,7 @@ public class AnyTokenizer implements Tokenizer {
lineNo += StringUtil.lineNumberAt(image, image.length()) - 1;
lastLineStart = matcher.start() + image.length() - ecol + 1;
}
// note: remove this -1 on the 7.0.x branch, this is here because in PMD 6, end columns are inclusive
// TODO note: remove this -1 on the 7.0.x branch, this is here because in PMD 6, end columns are inclusive
ecol = ecol - 1;
tokenEntries.add(new TokenEntry(image, sourceCode.getFileName(), bline, bcol, ecol));
}