ID: 2724662 - Alert is creating empty files in working directory

https://sourceforge.net/tracker/?func=detail&aid=2724662&group_id=176962&atid=879332
This commit is contained in:
teo_sarca 2009-04-01 08:18:13 +00:00
parent de995e8c2b
commit 1bb2b9d90c
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ public class MAlertRule extends X_AD_AlertRule
File file = null;
try
{
file = new File(name+"."+extension);
file = new File(System.getProperty("java.io.tmpdir"), name+"."+extension);
file.createNewFile();
return file;
}