Issue #1555: Rename local variables according to convention

Fixes `LocalVariableNamingConvention` inspection violations introduced in recent commits.

Description:
>Reports local variables whose names are either too short, too long, or do not follow the specified regular expression pattern.
This commit is contained in:
Michal Kordas 2015-09-03 22:16:30 +02:00 committed by Roman Ivanov
parent 1e0de782f6
commit 92182aea44
1 changed files with 9 additions and 9 deletions

View File

@ -35,17 +35,17 @@ public class SummaryJavadocTest extends BaseCheckTestSupport{
@Test
public void testIncorrect() throws Exception {
String msg_first_sentence = getCheckMessage(SummaryJavadocCheck.class, "summary.first.sentence");
String msg_forbidden_fragment = getCheckMessage(SummaryJavadocCheck.class, "summary.javaDoc");
String msgFirstSentence = getCheckMessage(SummaryJavadocCheck.class, "summary.first.sentence");
String msgForbiddenFragment = getCheckMessage(SummaryJavadocCheck.class, "summary.javaDoc");
final String[] expected = {
"14: " + msg_first_sentence,
"37: " + msg_first_sentence,
"47: " + msg_forbidden_fragment,
"58: " + msg_forbidden_fragment,
"69: " + msg_first_sentence,
"83: " + msg_forbidden_fragment,
"103: " + msg_first_sentence,
"14: " + msgFirstSentence,
"37: " + msgFirstSentence,
"47: " + msgForbiddenFragment,
"58: " + msgForbiddenFragment,
"69: " + msgFirstSentence,
"83: " + msgForbiddenFragment,
"103: " + msgFirstSentence,
};
Configuration checkConfig = builder.getCheckConfig("SummaryJavadocCheck");