示例#1
0
 public final void setProject(scrum.server.project.Project project) {
   project = prepareProject(project);
   if (isProject(project)) return;
   this.projectId = project == null ? null : project.getId();
   projectCache = project;
   updateLastModified();
   fireModified("project=" + project);
 }
示例#2
0
 public final boolean isProject(scrum.server.project.Project project) {
   if (this.projectId == null && project == null) return true;
   return project != null && project.getId().equals(this.projectId);
 }