fixes bug#22704

qua:wally
dev:


Faltou a realizaação de um commit na classe Arquivo e do arquivo pom.xml no projeto ventaboletosadm

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@108702 d1611594-4594-4d17-8e1d-87c2c4800839
master
walace 2021-09-15 13:08:20 +00:00
parent f18189232a
commit a00226fba0
2 changed files with 16 additions and 11 deletions

19
pom.xml
View File

@ -208,15 +208,20 @@
<version>8.7</version> <version>8.7</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>net.sf.saxon</groupId> <groupId>net.sf.saxon</groupId>
<artifactId>saxon-dom</artifactId> <artifactId>saxon-dom</artifactId>
<version>8.7</version> <version>8.7</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.nimbusds</groupId> <groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId> <artifactId>nimbus-jose-jwt</artifactId>
<classifier>jdk16</classifier> <classifier>jdk16</classifier>
<version>4.11.2</version> <version>4.11.2</version>
</dependency>
<dependency>
<groupId>org.xhtmlrenderer</groupId>
<artifactId>flying-saucer-pdf-itext5</artifactId>
<version>9.1.6</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>br.com.rjconsultores</groupId> <groupId>br.com.rjconsultores</groupId>

View File

@ -129,13 +129,13 @@ public class ConfigLayoulGeradorContratoController extends MyGenericForwardCompo
Filedownload.save(inputStream, new MimetypesFileTypeMap().getContentType(filePDF), nomeArquivo); Filedownload.save(inputStream, new MimetypesFileTypeMap().getContentType(filePDF), nomeArquivo);
} }
Arquivo.close(output); output.close();
fileHtml.delete(); fileHtml.delete();
filePDF.delete(); filePDF.delete();
} catch (FileNotFoundException e) { } catch (FileNotFoundException e) {
Arquivo.close(inputStream); inputStream.close();
Arquivo.close(output); output.close();
e.printStackTrace(); e.printStackTrace();
} }
} }