i18n of AvoidNestedBlocksCkeck
This commit is contained in:
parent
896b671caa
commit
c1863ec7e2
|
|
@ -63,8 +63,7 @@ public class AvoidNestedBlocksCheck extends Check
|
|||
public void visitToken(DetailAST aAST)
|
||||
{
|
||||
if (aAST.getParent().getType() == TokenTypes.SLIST) {
|
||||
// TODO: i18n
|
||||
log(aAST.getLineNo(), aAST.getColumnNo(), "Avoid nested blocks");
|
||||
log(aAST.getLineNo(), aAST.getColumnNo(), "block.nested");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ mod.order=''{0}'' modifier out of order with the JLS suggestions.
|
|||
|
||||
block.noStmt=Must have at least one statement.
|
||||
block.empty=Empty {0} block.
|
||||
block.nested=Avoid nested blocks.
|
||||
|
||||
maxParam=More than {0,number,integer} parameters.
|
||||
|
||||
|
|
@ -78,8 +79,8 @@ doublechecked.locking.avoid=The double-checked locking idiom is broken and shoul
|
|||
|
||||
design.forInheritance=Method ''{0}'' is not designed for inheritance - needs to be abstract, final or empty.
|
||||
|
||||
final.class=Class {0} should be declared as final
|
||||
missing.switch.default=switch without \"default\" clause
|
||||
final.class=Class {0} should be declared as final.
|
||||
missing.switch.default=switch without \"default\" clause.
|
||||
|
||||
empty.statement=Empty statement.
|
||||
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ mod.order=''{0}'' Modifier weicht von der empfohlenen Modifier-Reihenfolge aus d
|
|||
|
||||
block.noStmt=Muss mindestens ein Statement beinhalten.
|
||||
block.empty=Leerer {0} Block.
|
||||
block.nested=Verschachtelte Blöcke sollten vermieden werden.
|
||||
|
||||
maxParam=Mehr als {0,number,integer} Parameter.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue