title: String equalsIgnoreCase() vs JDK 7 Objects.equals(Object, Object)
body: <p>Do I lose anything by replacing the following: </p>
  
  <pre><code>    public final boolean testEquals(String left, String right) {
          if ((left == null &amp;&amp; right != null) || (left != null &amp;&amp; right == null)) {
              return false;
          } else if (left == null &amp;&amp; right == null) {
              return true;
          } else {
              return left.equalsIgnoreCase(right);
          }
      }
  </code></pre>
  
  <p>With this from the JDK 7 <a href="https://docs.oracle.com/javase/7/docs/api/java/util/Objects.html" rel="noreferrer">Objects class</a>:</p>
  
  <pre><code>    public final boolean testEquals(String left, String right) {
          return Objects.equals(left,right);
      }
  </code></pre>
  
  <p>If I lose the case insensitivity, is replacing it with</p>
  
  <pre><code>Objects.equals(left.toLowerCase(),right.toLowerCase()); 
  </code></pre>
  
  <p>enough? Does it make sense to?</p>