mistake in last commit: computation of loops in ReversingTwoConsecutiveLetters

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6068 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 16 years ago
parent 3130334932
commit b69f22e9ca

@ -52,12 +52,12 @@ public class DidYouMean {
this.ChangingOneLetter.start();
this.AddingOneLetter.start();
this.ReversingTwoConsecutiveLetters.start();
this.DeletingOneLetter.start();
this.ReversingTwoConsecutiveLetters.start();
try {
this.DeletingOneLetter.join(TIMEOUT);
this.ReversingTwoConsecutiveLetters.join(TIMEOUT);
this.DeletingOneLetter.join(TIMEOUT);
this.ChangingOneLetter.join(TIMEOUT);
this.AddingOneLetter.join(TIMEOUT);
} catch (InterruptedException e) {
@ -120,7 +120,7 @@ public class DidYouMean {
}
private class ReversingTwoConsecutiveLetters extends Thread {
// tests: alphabet.length * (len - 1)
// tests: (len - 1)
public void run() {
String s;
int count = 0;

Loading…
Cancel
Save