* [ 1688794 ] System is generating lots of temp files

This commit is contained in:
Carlos Ruiz 2007-03-26 22:31:41 +00:00
parent c97a21bedf
commit 1c390b8829
1 changed files with 10 additions and 9 deletions

View File

@ -726,15 +726,16 @@ public class MRequest extends X_R_Request
*/
public File createPDF ()
{
try
{
File temp = File.createTempFile(get_TableName()+get_ID()+"_", ".pdf");
return createPDF (temp);
}
catch (Exception e)
{
log.severe("Could not create PDF - " + e.getMessage());
}
// globalqss - comment to solve bug [ 1688794 ] System is generating lots of temp files
// try
// {
// File temp = File.createTempFile(get_TableName()+get_ID()+"_", ".pdf");
// return createPDF (temp);
// }
// catch (Exception e)
// {
// log.severe("Could not create PDF - " + e.getMessage());
// }
return null;
} // getPDF