wrong substring invocation.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2313 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
allo 19 years ago
parent e4f1820b58
commit 1b2ea58ee9

@ -130,7 +130,7 @@ public final class userDB {
public Entry getEntry(String userName) { public Entry getEntry(String userName) {
if(userName.length()>128){ if(userName.length()>128){
userName=userName.substring(128); userName=userName.substring(0, 127);
} }
try { try {
Map record = userTable.get(userName); Map record = userTable.get(userName);

Loading…
Cancel
Save