code: public static boolean areEquals(final String s1, final String s2) {
          return s1 == null ? s2 == null : s1.equals(s2);
      }
docs: Compare two String to see if they are equals (both null is ok).
  
  @param s1 string
  @param s2 string
  @return if two String are equals