<html>
<body>
Reports <code>String.equals()</code> or <code>String.equalsIgnoreCase()</code> calls
with a string literal argument.
Some coding standards specify that string literals should be the qualifier of <code>equals()</code>, rather than
argument, thus minimizing <code>NullPointerException</code>-s.
Use the quick-fix to exchange the literal and the expression.
<p>Example:</p>
<pre>
  boolean isFoo(String value) {
    return value.equals("foo");
  }
</pre>
<p>After the quick-fix is applied, the result looks like this:</p>
<pre>
  boolean isFoo(String value) {
    return "foo".equals(value);
  }
</pre>
<!-- tooltip end -->
</body>
</html>