<property name="tabWidth" value="8"/>
<property name="fileExtensions" value="java"/>
+ <module name="SuppressWarningsHolder" />
+
<!-- Annotations -->
<module name="ArrayTrailingComma" />
<module name="AvoidInlineConditionals" />
<module name="CovariantEquals" />
- <module name="DeclarationOrder" />
+ <module name="DeclarationOrder">
+ <property name="id" value="declarationorder" />
+ </module>
<module name="DefaultComesLast" />
<module name="EmptyStatement" />
<module name="EqualsAvoidNull" />
<module name="SuperClone" />
<module name="SuperFinalize" />
<module name="UnnecessaryParentheses" />
- <module name="VariableDeclarationUsageDistance" />
+ <module name="VariableDeclarationUsageDistance">
+ <property name="id" value="declarationdistance" />
+ </module>
<!-- Imports -->
* 人狼BBS各種XHTML文字列のパースを行いハンドラに通知する。
*/
@SuppressWarnings({
+ "checkstyle:declarationdistance",
+ "checkstyle:declarationorder",
"PMD.FieldDeclarationsShouldBeAtStartOfClass",
"PMD.PrematureDeclaration"
})
* <p>TODO: 1.7系ランタイムによっては
* [0x81, 0x7f]が「÷」にデコードされる場合がある問題が未解決。
*
- * @see https://en.wikipedia.org/wiki/Shift_JIS
+ * @see <a href="https://en.wikipedia.org/wiki/Shift_JIS">Shift_JIS</a>
* @see sun.nio.cs.ext.SJIS
*/
public class SjisNotifier extends DecodeNotifier{
* パース進行に従い{@link SysEventHandler}の各種メソッドが呼び出される。
*/
@SuppressWarnings({
+ "checkstyle:declarationdistance",
+ "checkstyle:declarationorder",
"PMD.FieldDeclarationsShouldBeAtStartOfClass",
"PMD.PrematureDeclaration"
})
* 人狼BBSシステムが出力する各発言箇所のパーサ。
* パース進行に従い{@link TalkHandler}の各種メソッドが呼び出される。
*/
-@SuppressWarnings("PMD.FieldDeclarationsShouldBeAtStartOfClass")
+@SuppressWarnings({
+ "checkstyle:declarationorder",
+ "PMD.FieldDeclarationsShouldBeAtStartOfClass",
+ "PMD.PrematureDeclaration"
+})
public class TalkParser extends AbstractParser{
private TalkHandler talkHandler;