Author: j16sdiz
Date: 2008-12-22 12:20:58 +0000 (Mon, 22 Dec 2008)
New Revision: 24735
Modified:
trunk/plugins/XMLLibrarian/LibrarianHandler.java
Log:
just write it
Modified: trunk/plugins/XMLLibrarian/LibrarianHandler.java
===================================================================
--- trunk/plugins/XMLLibrarian/LibrarianHandler.java 2008-12-22 12:20:35 UTC
(rev 24734)
+++ trunk/plugins/XMLLibrarian/LibrarianHandler.java 2008-12-22 12:20:58 UTC
(rev 24735)
@@ -60,7 +60,7 @@
//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"))){
-
setPrefix_match(md5.substring(0, prefix - i));
+ prefix_match =
md5.substring(0, prefix - i);
Logger.normal(this,
"match found " + getPrefix_match());
Logger.minor(this,
"word searched = " + word + " prefix matcheed = " + getPrefix_match());
break;
@@ -146,10 +146,7 @@
}
}
}
- public void setPrefix_match(String prefix_match) {
- this.prefix_match = prefix_match;
- }
-
+
public String getPrefix_match() {
return prefix_match;
}
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs