Compares two strings for equality. @param string1 first string (can be null) @param string2 strings to be compared (can be null) @return true if test is successful
(final String string1, final String string2)
| 96 | * @return {@code true} if test is successful |
| 97 | */ |
| 98 | public static boolean eq(final String string1, final String string2) { |
| 99 | return Objects.equals(string1, string2); |
| 100 | } |
| 101 | |
| 102 | /** |
| 103 | * Compares several strings for equality. |
no test coverage detected