//
// ========================================================================
-// 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
protected void shutdownInput()
{
- LOG.debug("ishut {}", this);
+ if (LOG.isDebugEnabled())
+ LOG.debug("ishut {}", this);
_ishut=true;
if (_oshut)
close();
@Override
public void shutdownOutput()
{
- LOG.debug("oshut {}", this);
+ if (LOG.isDebugEnabled())
+ LOG.debug("oshut {}", this);
_oshut = true;
if (_channel.isOpen())
{
public void close()
{
super.close();
- LOG.debug("close {}", this);
+ if (LOG.isDebugEnabled())
+ LOG.debug("close {}", this);
try
{
_channel.close();