fixed off by one string truncation issue

Former-commit-id: f25894627402e9e2d310b25163dae7d7db1457d9
This commit is contained in:
Jeremy Long
2014-05-07 07:03:02 -04:00
parent 8594e146eb
commit 9fc6e265eb

View File

@@ -384,7 +384,7 @@ public class FalsePositiveAnalyzer extends AbstractAnalyzer {
if (pos2 < 0) { if (pos2 < 0) {
return value; return value;
} else { } else {
return value.substring(0, pos2 - 1); return value.substring(0, pos2);
} }
} }