67: Remove unnessary null check
This commit is contained in:
parent
1b692f87fb
commit
aa801d0ae5
@ -219,18 +219,17 @@ public abstract class AbstractAdminIdeaPanel extends Panel {
|
||||
);
|
||||
|
||||
int targetCounter = (currentTarget == null) ? 0 : currentTarget.getTarget();
|
||||
long matchedCounter = (countMatched == null) ? 0L : countMatched;
|
||||
|
||||
String msg =
|
||||
"Supervisor changed: matched/target -> " +
|
||||
matchedCounter +
|
||||
countMatched +
|
||||
" / " +
|
||||
targetCounter +
|
||||
" (" +
|
||||
idea.getProjectType().getName() +
|
||||
")";
|
||||
|
||||
if (matchedCounter > targetCounter) {
|
||||
if (countMatched > targetCounter) {
|
||||
warn(msg);
|
||||
} else {
|
||||
info(msg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user