private void deleteGroups(List<String> batchList,List<Group> groupsToDelete){
  String deleteStatement="DELETE FROM " + GROUPS_TABLE + " WHERE GROUP_INTERNAL_ID=%d";
  for (  Group group : groupsToDelete) {
    batchList.add(String.format(deleteStatement,group.getUid()));
  }
}

private void deleteGroups ( List < String > batchList , List < Group > groupsToDelete ) { String deleteStatement = "DELETE FROM " + GROUPS_TABLE + " WHERE GROUP_INTERNAL_ID=%d" ; for ( Group group : groupsToDelete ) { batchList . add ( String . format ( deleteStatement , group . getUid ( ) ) ) ; } }
adds a string representation of the sql batch command required to delete an analysis group to the batchlist for each group in groupstodelete .
