æ¢ãã¦è¦ç´ãç ´ãã±ã¼ã¹ï¼FindBugsã®è¦åæå¶ï¼
ã®æ å ±ãæ¢ãã¦ã¿ãããããã¡ãã¯çµæ§é£ããã
Checkstyleã¯ã*.javaã解æãã¦ãã§ãã¯ãã¾ãããªã®ã§ãã³ã¡ã³ãã«åå¿ã§ããããããFindBugsã¯ã³ã³ãã¤ã«å¾ã® *.class ããã§ãã¯å¯¾è±¡ã§ãããªã®ã§ã³ã¡ã³ãã§FindBugsãå¶å¾¡ãããã¨ã¯ã§ãã¾ããã
å¾ã£ã¦ãFindBugsã§ã¯ã¢ããã¼ã·ã§ã³ã«ããè¦åæå¶æ段ãç¨æãã¦ããããã§ãã
@edu.umd.cs.findbugs.annotations.SuppressWarnings( value="EQ_COMPARETO_USE_OBJECT_EQUALS", justification="because I know better")
justificationè¦ç´ ã§ããã®æå¶ãæ£å½ã§ããçç±ããè¨è¿°ã§ããã®ã++ã§ããã
ãã ãjava.lang.SuppressWarnings ã¨åç´åãã«ãã£ã¦ããã®ã§ãå®å
¨ä¿®é£¾åã§æ¸ããã¨ã奨ãããã¦ããããã§ãã
ããããããã§æ°ã«ãªãã®ãã©ã¤ã»ã³ã¹ãFindBugsã¯LGPLã§é å¸ããããªã¼ãã³ã½ã¼ã¹ãããã¯ãã§ããèªåã§æ¸ããã³ã¼ããFindBugsã§ã調æ»ãããã ãã§ããã°ããã®ã³ã¼ãã¯FindBugsã«ä¾åãããã¨ã¯ãªãã®ã§ãLGPLã«ããå¶ç´ã¯åãã¾ããã
ããããFindBugsã«ãã£ã¦å®ç¾©ãããã¢ããã¼ã·ã§ã³ãã³ã¼ãå ã«æ¸ãï¼ä¾åãããã¤ã¾ãFindBugsããªããã°ã³ã³ãã¤ã«ã§ããªãï¼ã¨ãªãã¨è©±ã¯éã£ã¦ããã®ã§ã¯ãªãã ãããã
ã¨æã£ã¦ä½¿ç¨ã«è¸ã¿åããªãã