public void addDelete(IResource delete){
  if (fDelete == null)   fDelete=new ArrayList<IResource>(2);
  fDelete.add(delete);
  if (fIgnoreCount == 0) {
    internalAdd(new DeleteDescription(delete));
  }
}

public void addDelete ( IResource delete ) { if ( fDelete == null ) fDelete = new ArrayList < IResource > ( 2 ) ; fDelete . add ( delete ) ; if ( fIgnoreCount == 0 ) { internalAdd ( new DeleteDescription ( delete ) ) ; } }
adds the given resource to the list of resources to be deleted .
