<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>snoopeanutss</author_name>
  <author_url>https://blog.hatena.ne.jp/snoopeanutss/</author_url>
  <blog_title>Checkstyle Javaルール</blog_title>
  <blog_url>https://checkstyle-java.hatenablog.com/</blog_url>
  <categories>
    <anon>Coding</anon>
  </categories>
  <description>CheckStyle公式ドキュメント 検証環境 Checkstyleバージョン：10.3.3 Javaバージョン：17 チェック概要 チェック追加バージョン Checkstyle 5.0 Stringのequals()メソッド呼び出し時にnullでない値が呼び元となっていることをチェックする。 あるフィールドに割り当てられたStringリテラル（someString.equals(otherString = &quot;text&quot;)など）をチェックする。 String リテラルに対してequals()メソッドを呼び出すと、NullPointerException の可能性を回避できる。 また、等値比較の…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcheckstyle-java.hatenablog.com%2Fentry%2F2022%2F11%2F10%2F204746&quot; title=&quot;EqualsAvoidNull - Checkstyle Javaルール&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-11-10 20:47:46</published>
  <title>EqualsAvoidNull</title>
  <type>rich</type>
  <url>https://checkstyle-java.hatenablog.com/entry/2022/11/10/204746</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
