[sword-cvs] sword/bindings/corba/java/src/org/crosswire/sword/orb SwordOrb.java,1.7,1.8
sword@www.crosswire.org
sword@www.crosswire.org
Sat, 30 Aug 2003 18:58:15 -0700
Update of /usr/local/cvsroot/sword/bindings/corba/java/src/org/crosswire/sword/orb
In directory www:/tmp/cvs-serv24365/bindings/corba/java/src/org/crosswire/sword/orb
Modified Files:
SwordOrb.java
Log Message:
Index: SwordOrb.java
===================================================================
RCS file: /usr/local/cvsroot/sword/bindings/corba/java/src/org/crosswire/sword/orb/SwordOrb.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- SwordOrb.java 22 Aug 2003 15:14:02 -0000 1.7
+++ SwordOrb.java 31 Aug 2003 01:58:13 -0000 1.8
@@ -133,10 +133,10 @@
module.setKeyText("jas1:19");
System.out.println(module.getRenderText());
}
- module = mgr.getModuleByName(modInfoList[0].name);
- String[] searchResults = module.search("God love world", SearchType.MULTIWORD, 0, "");
+ module = mgr.getModuleByName("WEB");
+ SearchHit[] searchResults = module.search("God love world", SearchType.MULTIWORD, 0, "");
for (int i = 0; i < searchResults.length; i++)
- System.out.println(searchResults[i]);
+ System.out.println(searchResults[i].key);
}
}