Issue #1555: Remove unnecessary unboxing

Fixes `UnnecessaryUnboxing` inspection violations.

Description:
>Reports "unboxing", e.g. explicit unwrapping of wrapped primitive values. Unboxing is unnecessary under Java 5 and newer, and can be safely removed.
This inspection only reports if the project or module is configured to use a language level of 5.0 or higher.
This commit is contained in:
Michal Kordas 2015-08-31 23:17:56 +02:00 committed by Roman Ivanov
parent eb31210db6
commit 5a46bdbeea
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ public class TrailingCommentCheck extends AbstractFormatCheck {
}
if (!blankLinePattern.matcher(lineBefore).find()
&& !isLegalComment(comment)) {
log(lineNo.intValue(), MSG_KEY);
log(lineNo, MSG_KEY);
}
}
}