diff --git a/jOOX/src/main/java/org/joox/Impl.java b/jOOX/src/main/java/org/joox/Impl.java
index <HASH>..<HASH> 100644
--- a/jOOX/src/main/java/org/joox/Impl.java
+++ b/jOOX/src/main/java/org/joox/Impl.java
@@ -1884,6 +1884,7 @@ class Impl implements Match {
         return write(new OutputStreamWriter(stream));

     }

 

+    @SuppressWarnings("resource")

     @Override

     public final Match write(File file) throws IOException {

         return write(new FileOutputStream(file));
The resource is always closed, in another method