diff --git a/source/de/anomic/server/serverCore.java b/source/de/anomic/server/serverCore.java index ea67fcfc4..ba875917d 100644 --- a/source/de/anomic/server/serverCore.java +++ b/source/de/anomic/server/serverCore.java @@ -876,7 +876,7 @@ public final class serverCore extends serverAbstractThread implements serverThre if (bufferSize++ > maxSize) break; } - // we have catched a possible line end + // we have caught a possible line end if (b == cr) { // maybe a lf follows, read it: if ((b = pbis.read()) != lf) if (b >= 0) pbis.unread(b); // we push back the byte diff --git a/source/yacy.java b/source/yacy.java index a9461e515..5d8ce0ddb 100644 --- a/source/yacy.java +++ b/source/yacy.java @@ -321,7 +321,7 @@ public final class yacy { } // shut down - serverLog.logSystem("SHUTDOWN", "catched termination signal"); + serverLog.logSystem("SHUTDOWN", "caught termination signal"); server.terminate(false); server.interrupt(); if (server.isAlive()) try {