Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit b3e9bdc

Browse files
authored
Merge pull request #169 from appirio-tech/dev
fixes for resource management related to tasks
2 parents 48f7d80 + f883f96 commit b3e9bdc

File tree

4 files changed

+17
-7
lines changed

4 files changed

+17
-7
lines changed

components/resource_management/src/java/main/com/topcoder/management/resource/Notification.java

+5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@
2424
*/
2525
public class Notification extends AuditableResourceStructure {
2626

27+
/**
28+
* Default serial version id.
29+
*/
30+
private static final long serialVersionUID = 1L;
31+
2732
/**
2833
* <p>
2934
* The identifier of the project that the notification applies to.

components/resource_management/src/java/main/com/topcoder/management/resource/NotificationType.java

+5
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
*/
2323
public class NotificationType extends AuditableResourceStructure {
2424

25+
/**
26+
* Default serial version id.
27+
*/
28+
private static final long serialVersionUID = 1L;
29+
2530

2631
/**
2732
* <p>

components/resource_management/src/java/main/com/topcoder/management/resource/ResourceRole.java

+5
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@
4343
*/
4444
public class ResourceRole extends AuditableResourceStructure {
4545

46+
/**
47+
* Default serial version id.
48+
*/
49+
private static final long serialVersionUID = 1L;
50+
4651
/**
4752
* <p>
4853
* The value that the id field will have (and that the getId

services/contest_service_facade/src/java/main/com/topcoder/service/facade/contest/ejb/ContestServiceFacadeBean.java

+2-7
Original file line numberDiff line numberDiff line change
@@ -4437,11 +4437,6 @@ public SoftwareCompetition updateSoftwareContest(TCSubject tcSubject, SoftwareCo
44374437

44384438
if (isPrivateProject(contest)){
44394439
contest.getProjectHeader().setProperty(ProjectPropertyType.RATED_PROJECT_PROPERTY_KEY, "No");
4440-
}else {
4441-
if (oldProject.getProperty(ProjectPropertyType.PRIVATE_PROJECT) != null && oldProject.getProperty(ProjectPropertyType.PRIVATE_PROJECT).equals("1")){
4442-
//remove current registrant
4443-
Set<Long> preUsers = updatePreRegister(tcSubject, contest, new HashSet<Long>());
4444-
}
44454440
}
44464441

44474442

@@ -4498,9 +4493,9 @@ public SoftwareCompetition updateSoftwareContest(TCSubject tcSubject, SoftwareCo
44984493
continue;
44994494
}
45004495
}
4501-
if (r.getResourceRole().getId() != ResourceRole.RESOURCE_ROLE_SUBMITTER) {
4496+
// if (r.getResourceRole().getId() != ResourceRole.RESOURCE_ROLE_SUBMITTER) {
45024497
updatedResources.add(r);
4503-
}
4498+
// }
45044499
}
45054500

45064501
if(isF2FContest(contest)) {

0 commit comments

Comments
 (0)