public static void storeBugCollection(IProject project,final SortedBugCollection bugCollection,IProgressMonitor monitor) throws IOException, CoreException {
  project.setSessionProperty(SESSION_PROPERTY_BUG_COLLECTION,bugCollection);
  if (bugCollection != null) {
    writeBugCollection(project,bugCollection,monitor);
  }
}

public static void storeBugCollection ( IProject project , final SortedBugCollection bugCollection , IProgressMonitor monitor ) throws IOException , CoreException { project . setSessionProperty ( SESSION_PROPERTY_BUG_COLLECTION , bugCollection ) ; if ( bugCollection != null ) { writeBugCollection ( project , bugCollection , monitor ) ; } }
store a new bug collection for a project . the collection is stored in the session , and also in a file in the project .
