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/Integracion/IntegracaoReceitaDespesa/trunk/IntegracaoReceitaDespesa@108702 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
8e0dda166e
commit
7912d7cc24
|
@ -1,6 +1,8 @@
|
|||
package com.rjconsultores.integracaoreceitadespesa;
|
||||
|
||||
import java.io.Closeable;
|
||||
import java.io.FileWriter;
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
|
@ -20,4 +22,14 @@ public class Arquivo {
|
|||
log.error("", e);
|
||||
}
|
||||
}
|
||||
|
||||
public static void close(Closeable c) {
|
||||
if (c == null) return;
|
||||
try {
|
||||
c.close();
|
||||
} catch (IOException e) {
|
||||
log.error(e);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue