Commit a053013f authored by Andrea Aime's avatar Andrea Aime
Browse files

More build fix work

parent 4a937ad0
......@@ -24,7 +24,6 @@ import javax.imageio.metadata.IIOMetadataNode;
import javax.imageio.stream.ImageInputStream;
import javax.xml.namespace.QName;
import org.apache.commons.io.IOUtils;
import org.geoserver.catalog.Catalog;
import org.geoserver.catalog.LayerGroupInfo;
import org.geoserver.data.test.MockData;
......@@ -176,7 +175,9 @@ public class AnimatorTest extends WMSTestSupport {
fail("Could not find custom metadata node containing the loop control extension");
}
} finally {
IOUtils.closeQuietly(is);
if (is != null) {
is.close();
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment