to catch is an irregular verb

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@225 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
low012 20 years ago
parent 4574fa4ce7
commit 8c2789b22a

@ -876,7 +876,7 @@ public final class serverCore extends serverAbstractThread implements serverThre
if (bufferSize++ > maxSize) break; if (bufferSize++ > maxSize) break;
} }
// we have catched a possible line end // we have caught a possible line end
if (b == cr) { if (b == cr) {
// maybe a lf follows, read it: // maybe a lf follows, read it:
if ((b = pbis.read()) != lf) if (b >= 0) pbis.unread(b); // we push back the byte if ((b = pbis.read()) != lf) if (b >= 0) pbis.unread(b); // we push back the byte

@ -321,7 +321,7 @@ public final class yacy {
} }
// shut down // shut down
serverLog.logSystem("SHUTDOWN", "catched termination signal"); serverLog.logSystem("SHUTDOWN", "caught termination signal");
server.terminate(false); server.terminate(false);
server.interrupt(); server.interrupt();
if (server.isAlive()) try { if (server.isAlive()) try {

Loading…
Cancel
Save