import com.skin.ayada.tagext.Tag;
public class DeleteTag extends FileTag {
@Override
public int doEndTag() throws Exception {
File source = new File(this.getFile());
<BUG>if(source.isFile()) {
source.delete();</BUG>
}
else {
this.execute(new File(this.file));

import com.skin.ayada.tagext.Tag;
public class DeleteTag extends FileTag {
@Override
public int doEndTag() throws Exception {
File source = new File(this.getFile());
if(source.exists() && source.isFile()) {
source.delete();
}
else {
this.execute(new File(this.file));
