//
// ========================================================================
-// 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
URI real = file.toPath().toRealPath().toUri();
if (real.equals(resource.getAlias()))
{
- LOG.debug("Allow symlink {} --> {}",resource,real);
+ if (LOG.isDebugEnabled())
+ LOG.debug("Allow symlink {} --> {}",resource,real);
return true;
}
}
}
if (resource.getAlias().equals(d.toURI()))
{
- LOG.debug("Allow symlink {} --> {}",resource,d);
+ if (LOG.isDebugEnabled())
+ LOG.debug("Allow symlink {} --> {}",resource,d);
return true;
}
}