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

Loading…
Cancel
Save