Author: j16sdiz
Date: 2008-12-22 12:21:27 +0000 (Mon, 22 Dec 2008)
New Revision: 24736

Modified:
   trunk/plugins/XMLLibrarian/LibrarianHandler.java
   trunk/plugins/XMLLibrarian/XMLLibrarian.java
Log:
java naming

Modified: trunk/plugins/XMLLibrarian/LibrarianHandler.java
===================================================================
--- trunk/plugins/XMLLibrarian/LibrarianHandler.java    2008-12-22 12:20:58 UTC 
(rev 24735)
+++ trunk/plugins/XMLLibrarian/LibrarianHandler.java    2008-12-22 12:21:27 UTC 
(rev 24736)
@@ -19,7 +19,7 @@
                private String word;
                private int prefix;
                private boolean processingWord;
-               private String prefix_match;
+               private String prefixMatch;
                
                // now we need to adapt this to read subindexing 
                private boolean found_match ;
@@ -60,9 +60,9 @@
                                        //here we need to match and see if any 
of the subindices match the required substring of the word.
                                        for(int i=0;i<prefix;i++){
                                                
if((md5.substring(0,prefix-i)).equals(attrs.getValue("key"))){ 
-                                                       prefix_match = 
md5.substring(0, prefix - i);
-                                                       Logger.normal(this, 
"match found " + getPrefix_match());
-                                                       Logger.minor(this, 
"word searched = " + word + " prefix matcheed = " + getPrefix_match());
+                                                       prefixMatch = 
md5.substring(0, prefix - i);
+                                               Logger.normal(this, "match 
found " + prefixMatch);
+                                               Logger.minor(this, "word 
searched = " + word + " prefix matcheed = " + getPrefixMatch());
                                                        break;
                                                }
                                        }
@@ -147,8 +147,8 @@
                        }
                }
                
-               public String getPrefix_match() {
-                       return prefix_match;
+               public String getPrefixMatch() {
+               return prefixMatch;
                }
 
        }
\ No newline at end of file

Modified: trunk/plugins/XMLLibrarian/XMLLibrarian.java
===================================================================
--- trunk/plugins/XMLLibrarian/XMLLibrarian.java        2008-12-22 12:20:58 UTC 
(rev 24735)
+++ trunk/plugins/XMLLibrarian/XMLLibrarian.java        2008-12-22 12:21:27 UTC 
(rev 24736)
@@ -692,7 +692,7 @@
                        saxParser.parse(is, lib);
                        is.close();
                        
-                       return lib.getPrefix_match();
+                       return lib.getPrefixMatch();
                } catch (Throwable err) {
                        err.printStackTrace();
                } finally {

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

Reply via email to