fixed off by one string truncation issue

Former-commit-id: deead918832638cf9c7aadec194dad38f976946b
This commit is contained in:
Jeremy Long
2014-05-07 07:03:02 -04:00
parent 32808c16e7
commit c32361a428

View File

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