public void execute(final Runnable task){
  String name=metadata.get(Metadata.RESOURCE_NAME_KEY);
  if (name != null) {
    name="ICIJ Extract: " + name;
  }
 else {
    name="ICIJ Extract";
  }
  final Thread thread=new Thread(task,name);
  thread.setDaemon(true);
  thread.start();
}

public void execute ( final Runnable task ) { String name = metadata . get ( Metadata . RESOURCE_NAME_KEY ) ; if ( name != null ) { name = "ICIJ Extract: " + name ; } else { name = "ICIJ Extract" ; } final Thread thread = new Thread ( task , name ) ; thread . setDaemon ( true ) ; thread . start ( ) ; }
executes the given task in a daemon thread .
