forked from sevntu-checkstyle/sevntu.checkstyle
/
messages.properties
96 lines (96 loc) · 7.11 KB
/
messages.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
array.trailing.comma=Array should contain trailing comma.
assignment.inner.avoid=Inner assignments should be avoided.
avoid.declare.constants=Please avoid to declare constant(s) in the interface.
avoid.default.serializable.in.inner.classes=Inner class should not implement default Serializable interface.
avoid.finalizer.method=Avoid using finalizer method.
avoid.clone.method=Avoid using clone method.
avoid.hiding.cause.exception=Cause exception ''{0}'' was lost.
avoid.not.short.circuit.operators.for.boolean=Not short-circuit Operator ''{0}'' used.
avoid.modifiers.for.types=''{0}'' instance should not have ''{1}'' modifier.
avoid.constant.as.first.operand.in.condition=Constant have to be second operand of ''{0}''.
covariant.equals=covariant equals without overriding equals(java.lang.Object).
confusing.condition.check=Avoid negation within an "if" expression with an "else" clause.
custom.declaration.order.field=Field definition in wrong order. Expected ''{0}'' then ''{1}''.
custom.declaration.order.constructor=Constructor definition in wrong order. Expected ''{0}'' then ''{1}''.
custom.declaration.order.method=Method definition in wrong order. Expected ''{0}'' then ''{1}''.
custom.declaration.order.class=Class definition in wrong order. Expected ''{0}'' then ''{1}''.
declaration.order.constructor=Constructor definition in wrong order.
declaration.order.method=Method definition in wrong order.
declaration.order.static=Static variable definition in wrong order.
declaration.order.instance=Instance variable definition in wrong order.
declaration.order.access=Variable access definition in wrong order.
default.comes.last=Default should be last label in the switch.
doublechecked.locking.avoid=The double-checked locking idiom is broken and should be avoided.
empty.statement=Empty statement.
equals.avoid.null=String literal expressions should be on the left side of an equals comparison.
equals.noHashCode=Definition of ''equals()'' without corresponding definition of ''hashCode()''.
either.log.or.throw=Either log or throw exception.
explicit.init=Variable ''{0}'' explicitly initialized to ''{1}'' (default value for its type).
fall.through=Fall through from previous branch of the switch statement.
fall.through.last=Fall through from the last branch of the switch statement.
final.variable=Variable ''{0}'' should be declared final.
finalize.implementation.empty = Empty finalize() method (it negates effect of superclass finalizer).
finalize.implementation.missed.try.finally = finalize() method should contain try-finally block with super.finalize() call inside finally block.
finalize.implementation.public = finalize() method should have protected visibility.
finalize.implementation.useless = finalize() method is useless: it does nothing except for calling super.finalize().
finalize.implementation.missed.super.finalize = You have to call super.finalize() right after finally opening brace.
forbid.certain.imports=This import should not match ''{0}'' pattern, it is forbidden in {1}.
forbid.c.comments.in.the.method.body=C-style comments (/*...*/) inside method body are not allowed.
forbid.return.in.final.block=Finally block should not contain return statements.
hidden.field=''{0}'' hides a field.
illegal.catch=Catching ''{0}'' is not allowed.
illegal.throw=Throwing ''{0}'' is not allowed.
forbid.instantiation=Instantiation of ''{0}'' is not allowed.
illegal.token=Using ''{0}'' is not allowed.
illegal.token.text=Token text matches the illegal pattern ''{0}''.
illegal.type=Declaring variables, return values or parameters of type ''{0}'' is not allowed.
incorrect.getter.name=Unexpected getter name.
incorrect.setter.name=Unexpected setter name.
inline.conditional.avoid=Avoid inline conditionals.
instantiation.avoid=Instantiation of {0} should be avoided.
junit.method.name=The method ''{0}'' should be named ''{1}''.
junit.method.return.type=The method ''{0}'' must be declared with a {1} return type.
junit.method.parameters=The method ''{0}'' must be declared with no parameters.
junit.method.public.and.static=The method ''{0}'' must be declared static.
junit.method.protected.or.public=The method ''{0}'' must be public or protected.
junit.method.static=The method ''{0}'' shouldn''t be static.
logic.condition.need.optimization=Condition with {0} at line {1} position {2} need optimization. All method calls are advised to move to end of logic expression.
magic.number=''{0}'' is a magic number.
redundant.return=Redundant return.
missing.ctor=Class should define a constructor.
missing.package.declaration=Missing package declaration.
missing.super.call=Method ''{0}'' should call ''super.{0}''.
missing.switch.default=switch without \"default\" clause.
modified.control.variable=Control variable ''{0}'' is modified.
multiple.string.literal=The String {0} appears {1} times in the file.
multiple.variable.declarations=Only one variable definition per line allowed.
multiple.variable.declarations.comma=Each variable declaration must be in its own statement.
nested.if.depth=Nested if-else depth is {0,number,integer} (max allowed is {1,number,integer}).
nested.try.depth=Nested try depth is {0,number,integer} (max allowed is {1,number,integer}).
nested.ternary=Nested ternary operator should be avoided.
no.null.for.collections=Method returns null instead of empty collection.
overridable.method=Overridable method ''{0}'' is called in {1} body.
overridable.method.leads=Calling the method ''{0}'' in {1} body leads to the call of the overridable method ''{2}''.
parameter.assignment=Assignment of parameter ''{0}'' is not allowed.
redundant.throws.classInfo=Unable to get class information for {0}.
redundant.throws.duplicate=Redundant throws: ''{0}'' listed more then one time.
redundant.throws.subclass=Redundant throws: ''{0}'' is subclass of ''{1}''.
redundant.throws.unchecked=Redundant throws: ''{0}'' is unchecked exception.
require.this.variable=Reference to instance variable ''{0}'' needs \"this.\".
require.this.unfound.variable=Unable find where ''{0}'' is declared.
require.this.method=Method call to ''{0}'' needs \"this.\".
return.count=Return count is {0,number,integer} (max allowed is {1,number,integer}).
return.count.extended.method=Return count for ''{0}'' method is {1,number,integer} (max allowed is {2,number,integer}).
return.count.extended.ctor=Return count for ''{0}'' constructor is {1,number,integer} (max allowed is {2,number,integer}).
return.depth=Return depth is {0,number,integer} (max allowed is {1,number,integer}).
simplify.boolreturn=Conditional logic can be removed.
simplify.expression=Expression can be simplified.
string.literal.equality=Literal Strings should be compared using equals(), not ''{0}''.
unnecessary.paren.assign=Unnecessary parentheses around assignment right-hand side.
unnecessary.paren.expr=Unnecessary parentheses around expression.
unnecessary.paren.ident=Unnecessary parentheses around identifier ''{0}''.
unnecessary.paren.literal=Unnecessary parentheses around literal ''{0}''.
unnecessary.paren.return=Unnecessary parentheses around return value.
unnecessary.paren.string=Unnecessary parentheses around string {0}.
return.null.Boolean=Method declares to return Boolean and returns null.
return.boolean.ternary=Returning explicit boolean from ternary operator.