Kaydet (Commit) b1e949ed authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1326963 RV: Bad use of return value

Change-Id: I86aaa7904b3d6e551dcaf0e8d207bea2f2f134c3
üst 1bb2c50f
......@@ -365,7 +365,9 @@ public final class WikiEditorImpl extends WeakBase
{
// remove the temporary file
File aFile = new File( new URI( sTemp2Url ) );
aFile.delete();
if (!aFile.delete()) {
throw new java.lang.Exception("could not remove" + sTemp2Url);
}
}
catch ( java.lang.Exception e )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment