/*
- * Copyright (C) 2018 Roland Häder<roland@mxchange.org>
+ * Copyright (C) 2018 Free Software Foundation
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* 2 means str0 bigger str2
*/
@SuppressWarnings ("null")
- public static int comareTo (final String str0, final String str1) {
+ public static int compareTo (final String str0, final String str1) {
// Check both strings for null and empty
boolean isStr0Empty = (str0 == null || str0.isEmpty());
boolean isStr1Empty = (str1 == null || str1.isEmpty());
* 2 means str0 bigger str2
*/
@SuppressWarnings ("null")
- public static int comareToIgnoreCase (final String str0, final String str1) {
+ public static int compareToIgnoreCase (final String str0, final String str1) {
// Check both strings for null and empty
boolean isStr0Empty = (str0 == null || str0.isEmpty());
boolean isStr1Empty = (str1 == null || str1.isEmpty());