[jsword-svn] r1438 - trunk/jsword/src/main/java/org/crosswire/jsword/book/filter/gbf

dmsmith at www.crosswire.org dmsmith at www.crosswire.org
Sat Jun 23 20:53:23 MST 2007


Author: dmsmith
Date: 2007-06-23 20:53:22 -0700 (Sat, 23 Jun 2007)
New Revision: 1438

Modified:
   trunk/jsword/src/main/java/org/crosswire/jsword/book/filter/gbf/GBFTagBuilders.java
Log:
Fixed a major GBF bug. Amazing it was not reported before.

Modified: trunk/jsword/src/main/java/org/crosswire/jsword/book/filter/gbf/GBFTagBuilders.java
===================================================================
--- trunk/jsword/src/main/java/org/crosswire/jsword/book/filter/gbf/GBFTagBuilders.java	2007-06-23 15:02:57 UTC (rev 1437)
+++ trunk/jsword/src/main/java/org/crosswire/jsword/book/filter/gbf/GBFTagBuilders.java	2007-06-24 03:53:22 UTC (rev 1438)
@@ -91,13 +91,12 @@
                 builder = (TagBuilder) BUILDERS.get(name.substring(0, 2));
             }
 
-            Tag reply = null;
             if (builder != null)
             {
-                reply = builder.createTag(name);
+                tag = builder.createTag(name);
             }
 
-            if (reply == null)
+            if (tag == null)
             {
                 // I'm not confident enough that we handle all the GBF tags
                 // that I will blame the book instead of the program




More information about the jsword-svn mailing list