{"blog_title":"Checkstyle Java\u30eb\u30fc\u30eb","published":"2022-11-02 19:03:17","author_url":"https://blog.hatena.ne.jp/snoopeanutss/","width":"100%","image_url":null,"blog_url":"https://checkstyle-java.hatenablog.com/","categories":["Coding"],"provider_name":"Hatena Blog","version":"1.0","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcheckstyle-java.hatenablog.com%2Fentry%2F2022%2F11%2F02%2F190317\" title=\"CovariantEquals - Checkstyle Java\u30eb\u30fc\u30eb\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"CheckStyle\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8 \u691c\u8a3c\u74b0\u5883 Checkstyle\u30d0\u30fc\u30b8\u30e7\u30f3\uff1a10.3.3 Java\u30d0\u30fc\u30b8\u30e7\u30f3\uff1a17 \u30c1\u30a7\u30c3\u30af\u6982\u8981 \u30c1\u30a7\u30c3\u30af\u8ffd\u52a0\u30d0\u30fc\u30b8\u30e7\u30f3 Checkstyle 3.2 \u5171\u5909\u306aequals()\u30e1\u30bd\u30c3\u30c9\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u308b\u30af\u30e9\u30b9\u3084\u30ec\u30b3\u30fc\u30c9\u304c\u3001equals(Object)\u30e1\u30bd\u30c3\u30c9\u3082\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u3002 \u5171\u5909\u306aequals()\u30e1\u30bd\u30c3\u30c9\uff1aequals(Object) \u3068\u540c\u69d8\u306e\u30e1\u30bd\u30c3\u30c9\u3067\u3042\u308b\u304c\u3001\u5f15\u6570\u306e\u578b\u304c\u5171\u5909\uff08Object\u306e\u4efb\u610f\u306e\u30b5\u30d6\u30af\u30e9\u30b9\uff09\u306a\u30e1\u30bd\u30c3\u30c9\u306e\u3053\u3068\u3002 enum\u306fequals(Object)\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3067\u304d\u306a\u3044\u304c\u3001\u30c1\u30a7\u30c3\u30af\u5bfe\u8c61\u3068\u306a\u308b\u3002 enum\u3067equa\u2026","title":"CovariantEquals","type":"rich","author_name":"snoopeanutss","url":"https://checkstyle-java.hatenablog.com/entry/2022/11/02/190317","height":"190"}