diff --git a/source/de/anomic/htmlFilter/htmlFilterWriter.java b/source/de/anomic/htmlFilter/htmlFilterWriter.java index 115149b14..967998b69 100644 --- a/source/de/anomic/htmlFilter/htmlFilterWriter.java +++ b/source/de/anomic/htmlFilter/htmlFilterWriter.java @@ -491,7 +491,8 @@ public final class htmlFilterWriter extends Writer { private static boolean binaryHint(char c) { // space, punctiation and symbols, letters and digits (ASCII/latin) - if (c >= 31 && c < 128) return false; + //if (c >= 31 && c < 128) return false; + if(c >= 31) return false; // 8 = backspace // 9 = horizontal tab // 10 = new line (line feed) diff --git a/source/de/anomic/server/serverInstantBusyThread.java b/source/de/anomic/server/serverInstantBusyThread.java index 51276bb01..4c1733dad 100644 --- a/source/de/anomic/server/serverInstantBusyThread.java +++ b/source/de/anomic/server/serverInstantBusyThread.java @@ -126,9 +126,7 @@ public final class serverInstantBusyThread extends serverAbstractBusyThread impl } catch (InvocationTargetException e) { String targetException = e.getTargetException().getMessage(); e.printStackTrace(); - if ((targetException != null) && ((targetException.indexOf("heap space") > 0) || (targetException.indexOf("NullPointerException") > 0))) e.getTargetException().printStackTrace(); serverLog.logSevere("BUSYTHREAD", "Runtime Error in serverInstantThread.job, thread '" + this.getName() + "': " + e.getMessage() + "; target exception: " + targetException, e.getTargetException()); - e.getTargetException().printStackTrace(); } catch (OutOfMemoryError e) { serverLog.logSevere("BUSYTHREAD", "OutOfMemory Error in serverInstantThread.job, thread '" + this.getName() + "': " + e.getMessage()); e.printStackTrace();