X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=lib%2Fjetty%2Forg%2Feclipse%2Fjetty%2Fserver%2FQueuedHttpInput.java;h=e0888979bea2db157fe28342f5c8f71366b036ac;hb=265b98aed618c4b153f9c96580fb619ab7ce70ec;hp=881fbfa08420e00e6f3dc252479e9a1902305e70;hpb=73ef54a38e3930a1a789cdc6b5fa23cdd4c9d086;p=gigi.git diff --git a/lib/jetty/org/eclipse/jetty/server/QueuedHttpInput.java b/lib/jetty/org/eclipse/jetty/server/QueuedHttpInput.java index 881fbfa0..e0888979 100644 --- a/lib/jetty/org/eclipse/jetty/server/QueuedHttpInput.java +++ b/lib/jetty/org/eclipse/jetty/server/QueuedHttpInput.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 @@ -55,7 +55,8 @@ public abstract class QueuedHttpInput extends HttpInput { boolean wasEmpty = _inputQ.isEmpty(); _inputQ.add(item); - LOG.debug("{} queued {}", this, item); + if (LOG.isDebugEnabled()) + LOG.debug("{} queued {}", this, item); if (wasEmpty) { if (!onAsyncRead()) @@ -90,7 +91,8 @@ public abstract class QueuedHttpInput extends HttpInput { _inputQ.pollUnsafe(); onContentConsumed(item); - LOG.debug("{} consumed {}", this, item); + if (LOG.isDebugEnabled()) + LOG.debug("{} consumed {}", this, item); item = _inputQ.peekUnsafe(); } return item; @@ -105,7 +107,8 @@ public abstract class QueuedHttpInput extends HttpInput { try { - LOG.debug("{} waiting for content", this); + if (LOG.isDebugEnabled()) + LOG.debug("{} waiting for content", this); lock().wait(); } catch (InterruptedException e)