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:
parent
de995e8c2b
commit
1bb2b9d90c
|
@ -144,7 +144,7 @@ public class MAlertRule extends X_AD_AlertRule
|
||||||
File file = null;
|
File file = null;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
file = new File(name+"."+extension);
|
file = new File(System.getProperty("java.io.tmpdir"), name+"."+extension);
|
||||||
file.createNewFile();
|
file.createNewFile();
|
||||||
return file;
|
return file;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue