Added the new line at end of file check to the mix
This commit is contained in:
parent
41954c1bd0
commit
ebb5c70dca
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<!-- set global properties for this build -->
|
||||
<property name="target.dir" value="${basedir}/target" />
|
||||
<property name="version" value="5.2-SNAPSHOT" />
|
||||
<property name="version" value="5.3-SNAPSHOT" />
|
||||
<property name="checkstyle.dir"
|
||||
value="src/checkstyle/com/puppycrawl/tools/checkstyle" />
|
||||
|
||||
|
|
|
|||
|
|
@ -36,6 +36,8 @@
|
|||
<property name="fileExtensions" value="java"/>
|
||||
</module>
|
||||
|
||||
<module name="NewlineAtEndOfFile"/>
|
||||
|
||||
<module name="Header">
|
||||
<property name="headerFile" value="${checkstyle.header.file}"/>
|
||||
<property name="fileExtensions" value="java"/>
|
||||
|
|
|
|||
|
|
@ -377,4 +377,4 @@ public class AutomaticBean
|
|||
return retVal;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -66,4 +66,4 @@ public class LineColumn implements Comparable<LineColumn>
|
|||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -239,4 +239,4 @@ public abstract class DeclarationCollector extends Check
|
|||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@ mutable.exception=L''attribut ''{0}'' devrait
|
|||
throws.count=Le nombre de clause \"throws\" {0,number,integer}, alors que le maximum autorisé est de {1,number,integer}.
|
||||
throws.count=Le nombre de clause \"throws\" est de {0,number,integer}, alors que le maximum autorisé est de {1,number,integer}.
|
||||
|
||||
hide.utility.class=Les classes utilitaires ne doivent pas avoir de constructeur par défaut ou public.
|
||||
hide.utility.class=Les classes utilitaires ne doivent pas avoir de constructeur par défaut ou public.
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
duplicates.lines=Found duplicate of {0} lines in {1}, starting from line {2}
|
||||
duplicates.lines=Found duplicate of {0} lines in {1}, starting from line {2}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
duplicates.lines={0} gleiche Zeilen in {1}, beginnend bei Zeile {2}
|
||||
duplicates.lines={0} gleiche Zeilen in {1}, beginnend bei Zeile {2}
|
||||
|
|
|
|||
|
|
@ -9,4 +9,4 @@ import.ordering=Wrong order for ''{0}'' import.
|
|||
import.separation=''{0}'' should be separated from previous imports.
|
||||
import.control.missing.file=Missing an import control file.
|
||||
import.control.disallowed=Disallowed import - {0}.
|
||||
import.control.unknown.pkg=Import control file does not handle this package.
|
||||
import.control.unknown.pkg=Import control file does not handle this package.
|
||||
|
|
|
|||
|
|
@ -312,4 +312,4 @@ class TagParser
|
|||
return mColumn;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,4 +26,4 @@ trailing.comments=Don''t use trailing comments.
|
|||
|
||||
array.type.style=Array brackets at illegal position.
|
||||
|
||||
type.file.mismatch=The name of the outer type and the file do not match.
|
||||
type.file.mismatch=The name of the outer type and the file do not match.
|
||||
|
|
|
|||
|
|
@ -19,4 +19,4 @@ descendant.token.max=Le nombre de lex
|
|||
|
||||
final.parameter=Le paramètre {0} devrait être final.
|
||||
trailing.comments=Ne mélangez pas instructions Java et commentaires sur la même ligne.
|
||||
array.type.style=Les crochets du tableau ne sont pas placés au bon endroit.
|
||||
array.type.style=Les crochets du tableau ne sont pas placés au bon endroit.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
redundantModifier=Überflüssiger Modifier ''{0}''.
|
||||
annotation.order=''{0}'' Annotation-Modifier sollte vor den anderen Modifiern stehen.
|
||||
mod.order=Modifier ''{0}'' weicht von der empfohlenen Modifier-Reihenfolge aus der Java-Sprachdefinition ab.
|
||||
mod.order=Modifier ''{0}'' weicht von der empfohlenen Modifier-Reihenfolge aus der Java-Sprachdefinition ab.
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
redundantModifier=Tarpeeton määrite: ''{0}''
|
||||
mod.order=''{0}'' määrite rikkoo JLS:n suositusten mukaisesen järjestyksen.
|
||||
mod.order=''{0}'' määrite rikkoo JLS:n suositusten mukaisesen järjestyksen.
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@ redundantModifier=Mot-clef ''{0}'' redondant.
|
|||
|
||||
annotation.order=Le modificateur d''annotation ''{0}'' ne précède pas les autres modificateurs.
|
||||
|
||||
mod.order=Le mot-clef ''{0}'' n''apparaît pas dans l''ordre préconisé par les JLS.
|
||||
mod.order=Le mot-clef ''{0}'' n''apparaît pas dans l''ordre préconisé par les JLS.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
redundantModifier=Modificador ''{0}'' é redundante.
|
||||
|
||||
mod.order=Modificador ''{0}'' fora da orderm sugerida pela JLS.
|
||||
mod.order=Modificador ''{0}'' fora da orderm sugerida pela JLS.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
name.invalidPattern=Name ''{0}'' must match pattern ''{1}''.
|
||||
illegal.abstract.class.name=Name ''{0}'' must match pattern ''{1}''.
|
||||
method.name.equals.class.name=Method Name ''{0}'' must not equal the enclosing class name.
|
||||
method.name.equals.class.name=Method Name ''{0}'' must not equal the enclosing class name.
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
regexp.exceeded=Line matches the illegal pattern ''{0}''.
|
||||
regexp.minimum=File does not contain at least {0} matches for pattern ''{1}''.
|
||||
regexp.exceeded=Line matches the illegal pattern ''{0}''.
|
||||
regexp.minimum=File does not contain at least {0} matches for pattern ''{1}''.
|
||||
|
|
|
|||
|
|
@ -10,4 +10,4 @@ ws.followed=''{0}'' is followed by whitespace.
|
|||
ws.notFollowed=''{0}'' is not followed by whitespace.
|
||||
ws.notPreceded=''{0}'' is not preceded with whitespace.
|
||||
ws.preceded=''{0}'' is preceded with whitespace.
|
||||
ws.illegalFollow=''{0}'' is followed by an illegal character.
|
||||
ws.illegalFollow=''{0}'' is followed by an illegal character.
|
||||
|
|
|
|||
|
|
@ -21,4 +21,4 @@
|
|||
* Contains the grammar used by the Checkstyle framework.
|
||||
* <p>You should <strong>not be</strong> referring to this package.
|
||||
*/
|
||||
package com.puppycrawl.tools.checkstyle.grammars;
|
||||
package com.puppycrawl.tools.checkstyle.grammars;
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@ general.exception=Foi recebida uma excepção - {0}
|
|||
#
|
||||
DefaultLogger.addException=Erro ao auditar {0}
|
||||
DefaultLogger.auditStarted=A iniciar a auditoria...
|
||||
DefaultLogger.auditFinished=Auditoria completa.
|
||||
DefaultLogger.auditFinished=Auditoria completa.
|
||||
|
|
|
|||
Loading…
Reference in New Issue