/src/main/java/org/htmlunit/html/HtmlImage.java
InputStream inputStream = imageWebResponse_.getContentAsStream ( ) ) { IOUtils.copy ( inputStream, fos ) ;
return false; } public void saveAs(final File file) throws IOException { downloadImageIfNeeded(); if (null != imageWebResponse_) { try (OutputStream fos = Files.newOutputStream(file.toPath()); <extra_id_0> } } } @Override public DisplayStyle getDefaultStyleDisplay() { return DisplayStyle.INLINE;