Fix I18N bug
This commit is contained in:
parent
fcbd40f3ce
commit
a054eca6fd
|
|
@ -35,7 +35,7 @@ import com.puppycrawl.tools.checkstyle.api.DetailAST;
|
|||
* so their company's coding standards forbids them.
|
||||
*
|
||||
* @author lkuehne
|
||||
* @version $Revision: 1.3 $
|
||||
* @version $Revision: 1.4 $
|
||||
*/
|
||||
public class AvoidInlineConditionalsCheck extends Check
|
||||
{
|
||||
|
|
@ -57,7 +57,6 @@ public class AvoidInlineConditionalsCheck extends Check
|
|||
// the only place a QUESTION token can occur is in inline conditionals
|
||||
// so no need to do any further tricks here - pretty trivial Check!
|
||||
|
||||
log(aAST.getLineNo(), aAST.getColumnNo(),
|
||||
"Avoid inline conditionals.");
|
||||
log(aAST.getLineNo(), aAST.getColumnNo(), "inline.conditional.avoid");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ illegal.token.text=Token text matches the illegal pattern ''{0}''.
|
|||
|
||||
instantiation.avoid=Instantiation of {0} should be avoided.
|
||||
|
||||
inline.conditional.avoid=Avoid inline conditionals.
|
||||
|
||||
magic.number=''{0}'' is a magic number.
|
||||
|
||||
missing.super.call=Method ''{0}'' should call ''super.{0}''.
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ illegal.token.text=Cha
|
|||
|
||||
instantiation.avoid=L''instantiation de la classe {0} est prohibée.
|
||||
|
||||
instantiation.avoid=Evitez l''utilisation de l''opération conditionnel.
|
||||
|
||||
magic.number=''{0}'' devrait être défini comme une constante.
|
||||
|
||||
missing.super.call=La méthode ''{0}'' devrait appeler ''super.{0}''.
|
||||
|
|
|
|||
Loading…
Reference in New Issue