#93 codestyle
This commit is contained in:
parent
cbae48c23e
commit
e81ee4d36b
@ -4,7 +4,8 @@ public class ActivityElement {
|
||||
private int startedCount = 0;
|
||||
private int completedCount = 0;
|
||||
|
||||
public ActivityElement() {}
|
||||
public ActivityElement() {
|
||||
}
|
||||
|
||||
public ActivityElement(int startedCount, int completedCount) {
|
||||
this.startedCount = startedCount;
|
||||
@ -28,10 +29,10 @@ public class ActivityElement {
|
||||
}
|
||||
|
||||
public void incrementStartedCount() {
|
||||
this.startedCount ++;
|
||||
this.startedCount++;
|
||||
}
|
||||
|
||||
public void incrementCompletedCount() {
|
||||
this.completedCount ++;
|
||||
this.completedCount++;
|
||||
}
|
||||
}
|
||||
|
@ -165,7 +165,7 @@ public class GrantService extends BaseService {
|
||||
if (grant.getLeader() != oldLeader) {
|
||||
grantNotificationService.sendLeaderChangeNotification(grant, oldLeader);
|
||||
}
|
||||
if(grant.getStatus() != oldStatus) {
|
||||
if (grant.getStatus() != oldStatus) {
|
||||
activityService.createActivity(new ArrayList<>(grant.getAuthors()), grant.getCommonActivityState());
|
||||
}
|
||||
eventService.updateGrantDeadlines(grant);
|
||||
|
Loading…
Reference in New Issue
Block a user