X-Git-Url: https://code.wpia.club/?p=gigi.git;a=blobdiff_plain;f=lib%2Fjetty%2Forg%2Feclipse%2Fjetty%2Fio%2FUncheckedPrintWriter.java;fp=lib%2Fjetty%2Forg%2Feclipse%2Fjetty%2Fio%2FUncheckedPrintWriter.java;h=928605e1e4b3dfa95b585154d37bc5700182b01c;hp=6898ddfb93f6bee534d9be5a04f05672507e1648;hb=aa5723dbb64ec8efa63909d39ff72364f0a5ee96;hpb=e443f19911df6a30ab07ef70d23970bda671b194 diff --git a/lib/jetty/org/eclipse/jetty/io/UncheckedPrintWriter.java b/lib/jetty/org/eclipse/jetty/io/UncheckedPrintWriter.java index 6898ddfb..928605e1 100644 --- a/lib/jetty/org/eclipse/jetty/io/UncheckedPrintWriter.java +++ b/lib/jetty/org/eclipse/jetty/io/UncheckedPrintWriter.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd. +// Copyright (c) 1995-2016 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the terms of the Eclipse Public License v1.0 @@ -129,7 +129,8 @@ public class UncheckedPrintWriter extends PrintWriter _ioException.initCause(th); } - LOG.debug(th); + if (LOG.isDebugEnabled()) + LOG.debug(th); }