のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

2012-04-19から1日間の記事一覧

条件ロジックはなくせます。

CheckStyleで条件ロジックはなくせます。のワーニング。 private static final int CODE_00FF = 0x00FF; private boolean isHalfWidthChar(final char code) { if (code <= CODE_00FF) { return true; } else { return false; } } こうすると消えた。 privat…

make sure class name exists, is public, and has an empty constructor that is public

エラー make sure class name exists, is public, and has an empty constructor that is public クラス名とフラグメントのクラス名が一致していなかった。 Class name and class name of the fragment did not match. public class FragCat extends Fragmen…