]> WPIA git - gigi.git/blobdiff - lib/jetty/org/eclipse/jetty/util/component/FileDestroyable.java
updating jetty to jetty-9.2.16.v2016040
[gigi.git] / lib / jetty / org / eclipse / jetty / util / component / FileDestroyable.java
index 94936452bd38ec5e017a545d4c8b6ae7eb708c57..dd1a8c5a2755f328dee581ab041f89d880a53efe 100644 (file)
@@ -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);
             }
         }