Author: j16sdiz
Date: 2008-12-19 16:04:32 +0000 (Fri, 19 Dec 2008)
New Revision: 24614

Modified:
   trunk/plugins/XMLLibrarian/XMLLibrarian.java
Log:
less global variable

Modified: trunk/plugins/XMLLibrarian/XMLLibrarian.java
===================================================================
--- trunk/plugins/XMLLibrarian/XMLLibrarian.java        2008-12-19 15:52:25 UTC 
(rev 24613)
+++ trunk/plugins/XMLLibrarian/XMLLibrarian.java        2008-12-19 16:04:32 UTC 
(rev 24614)
@@ -95,8 +95,6 @@
        private String word ;
        private boolean processingWord ;
        
-       private HashMap<String, String> uris;
-       private HashMap<String, String> titles;
        private String prefix_match;
        private int prefix;
        private boolean test;
@@ -803,6 +801,10 @@
        public class LibrarianHandler extends DefaultHandler {
                // now we need to adapt this to read subindexing 
                private boolean found_match ;
+               /** file id -> uri */
+               private HashMap<String, String> uris;
+               /** file id -> title */
+               private HashMap<String, String> titles;
                private List<URIWrapper> fileuris;
 
                public LibrarianHandler(List<URIWrapper> fileuris) throws 
Exception {

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to