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();
|
int targetCounter = (currentTarget == null) ? 0 : currentTarget.getTarget();
|
||||||
long matchedCounter = (countMatched == null) ? 0L : countMatched;
|
|
||||||
|
|
||||||
String msg =
|
String msg =
|
||||||
"Supervisor changed: matched/target -> " +
|
"Supervisor changed: matched/target -> " +
|
||||||
matchedCounter +
|
countMatched +
|
||||||
" / " +
|
" / " +
|
||||||
targetCounter +
|
targetCounter +
|
||||||
" (" +
|
" (" +
|
||||||
idea.getProjectType().getName() +
|
idea.getProjectType().getName() +
|
||||||
")";
|
")";
|
||||||
|
|
||||||
if (matchedCounter > targetCounter) {
|
if (countMatched > targetCounter) {
|
||||||
warn(msg);
|
warn(msg);
|
||||||
} else {
|
} else {
|
||||||
info(msg);
|
info(msg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user