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

21
pom.xml
View File

@ -208,15 +208,20 @@
<version>8.7</version>
</dependency>
<dependency>
<groupId>net.sf.saxon</groupId>
<artifactId>saxon-dom</artifactId>
<version>8.7</version>
<groupId>net.sf.saxon</groupId>
<artifactId>saxon-dom</artifactId>
<version>8.7</version>
</dependency>
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
<classifier>jdk16</classifier>
<version>4.11.2</version>
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
<classifier>jdk16</classifier>
<version>4.11.2</version>
</dependency>
<dependency>
<groupId>org.xhtmlrenderer</groupId>
<artifactId>flying-saucer-pdf-itext5</artifactId>
<version>9.1.6</version>
</dependency>
<dependency>
<groupId>br.com.rjconsultores</groupId>
@ -259,7 +264,7 @@
<outputFileNameMapping>@{artifactId}@.@{extension}@</outputFileNameMapping>
</configuration>
</plugin>
<plugin>
<groupId>io.github.olivierlemasle.maven</groupId>
<artifactId>plaintext-maven-plugin</artifactId>

View File

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