[jsword-svn] r2032 - trunk/jsword/src/main/java/org/crosswire/jsword/book/filter/gbf
dmsmith at crosswire.org
dmsmith at crosswire.org
Wed Dec 1 17:40:36 MST 2010
Author: dmsmith
Date: 2010-12-01 17:40:36 -0700 (Wed, 01 Dec 2010)
New Revision: 2032
Modified:
trunk/jsword/src/main/java/org/crosswire/jsword/book/filter/gbf/GBFFilter.java
Log:
JS-137: Bug in GBFFilter fixed. Thanks to Chris Burrell
Modified: trunk/jsword/src/main/java/org/crosswire/jsword/book/filter/gbf/GBFFilter.java
===================================================================
--- trunk/jsword/src/main/java/org/crosswire/jsword/book/filter/gbf/GBFFilter.java 2010-11-30 21:44:24 UTC (rev 2031)
+++ trunk/jsword/src/main/java/org/crosswire/jsword/book/filter/gbf/GBFFilter.java 2010-12-02 00:40:36 UTC (rev 2032)
@@ -112,7 +112,7 @@
// If the first letter after < is an upper case letter
// then report it as a potential problem
if (ltpos >= 0
- && ltpos < remains.length()
+ && ltpos < remains.length() + 1
&& Character.isUpperCase(remains.charAt(ltpos + 1)))
{
DataPolice.report("Possible bad GBF tag" + remains);
More information about the jsword-svn
mailing list