[hmath-commits] org.hmath.server/WEB-INF/src/org/hartmath/server/filter CachedWikipediaParser.java,1
Status: Pre-Alpha
Brought to you by:
jsurfer
|
From: Klaus H. <js...@us...> - 2004-05-02 17:34:20
|
Update of /cvsroot/hmath/org.hmath.server/WEB-INF/src/org/hartmath/server/filter In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25118/WEB-INF/src/org/hartmath/server/filter Modified Files: CachedWikipediaParser.java Log Message: Improved cache; fixed "table of content" bug Index: CachedWikipediaParser.java =================================================================== RCS file: /cvsroot/hmath/org.hmath.server/WEB-INF/src/org/hartmath/server/filter/CachedWikipediaParser.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** CachedWikipediaParser.java 2 May 2004 12:43:07 -0000 1.2 --- CachedWikipediaParser.java 2 May 2004 17:34:10 -0000 1.3 *************** *** 1483,1487 **** // copy fResult and new initialization: - fCurrentCachedPageArrayIndex = fCachedPage.getCurrentIndex(); fResultBufferHeader = fResultBuffer; if (fCacheStaticBlockActive) { --- 1483,1486 ---- *************** *** 1489,1492 **** --- 1488,1492 ---- fCacheStaticBlockActive = false; } + fCurrentCachedPageArrayIndex = fCachedPage.getCurrentIndex(); fCacheStaticBlockActive = true; fCacheStaticBlockStartPosition = 0; |