git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5882 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
low012 16 years ago
parent 2714ff034b
commit f1244264b8

@ -641,7 +641,7 @@ public class wikiCode extends abstractWikiParser implements wikiParser {
//counting double headlines //counting double headlines
int doubles = 0; int doubles = 0;
for(int i=0;i<headlines;i++){ for(int i=0;i<headlines;i++){
if(dirElements.get(i).substring(1).equals(direlem)){ if(dirElements.size() > i && dirElements.get(i).substring(1).equals(direlem)){
doubles++; doubles++;
} }
} }

Loading…
Cancel
Save