X-Git-Url: https://code.wpia.club/?p=gigi.git;a=blobdiff_plain;f=lib%2Fjetty%2Forg%2Feclipse%2Fjetty%2Futil%2Fcomponent%2FFileDestroyable.java;fp=lib%2Fjetty%2Forg%2Feclipse%2Fjetty%2Futil%2Fcomponent%2FFileDestroyable.java;h=dd1a8c5a2755f328dee581ab041f89d880a53efe;hp=94936452bd38ec5e017a545d4c8b6ae7eb708c57;hb=aa5723dbb64ec8efa63909d39ff72364f0a5ee96;hpb=e443f19911df6a30ab07ef70d23970bda671b194 diff --git a/lib/jetty/org/eclipse/jetty/util/component/FileDestroyable.java b/lib/jetty/org/eclipse/jetty/util/component/FileDestroyable.java index 94936452..dd1a8c5a 100644 --- a/lib/jetty/org/eclipse/jetty/util/component/FileDestroyable.java +++ b/lib/jetty/org/eclipse/jetty/util/component/FileDestroyable.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 @@ -86,7 +86,8 @@ public class FileDestroyable implements Destroyable { if (file.exists()) { - LOG.debug("Destroy {}",file); + if (LOG.isDebugEnabled()) + LOG.debug("Destroy {}",file); IO.delete(file); } }