Assign supervisor to student ideas no matter if target (goal) is reached #96
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "67-supervisor-target-non-blocking"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #67
How to test
Deployed to https://scipro-67-supervisor-target-non-blocking.branch.dsv.su.se
WIP: Assign supervisor to student ideas no matter if target (goal) is reachedto Assign supervisor to student ideas no matter if target (goal) is reachedCode looks good to me. Minor nitpick on the null check on the return value from a count method.
@ -217,0 +219,4 @@
);
int targetCounter = (currentTarget == null) ? 0 : currentTarget.getTarget();
long matchedCounter = (countMatched == null) ? 0L : countMatched;
This seems weird, a count method should return 0 not
null
.Fine point, the unnecessary null check has been removed.
The rationale for null check is that ideaService.countMatched returning Long. It would be better that a @NotNull annotation is applied to such method which is guaranteed to return non null object.
Looks good
Jag tycker att det ser bra ut. Jag har skickat länken till Gruorna för test, så vi avvaktar deras feedback.
Avvaktar deras feedback innan vi ändrar status från "PO needed".
Ok för Gruorna att sätta denna feature i drift redan den här veckan