public void end(){
  while (!subreports.isEmpty()) {
    String subreport=subreports.pop();
    addLogEntry(new SubreportEndEntry(subreport));
  }
  this.endDate=new Date();
}

public void end ( ) { while ( ! subreports . isEmpty ( ) ) { String subreport = subreports . pop ( ) ; addLogEntry ( new SubreportEndEntry ( subreport ) ) ; } this . endDate = new Date ( ) ; }
ends all subreports and saves the end date .
