]> git.mxchange.org Git - jcore-utils.git/blobdiff - src/org/mxchange/jcoreee/utils/StringUtils.java
Continued:
[jcore-utils.git] / src / org / mxchange / jcoreee / utils / StringUtils.java
index 7a3d6c2f280686ff9bb2855761515c3c319fbe7e..e69535a2b9ec0d646e93fbd6318274cd16d96e9d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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
@@ -42,7 +42,7 @@ public class StringUtils implements Serializable {
         *         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());
@@ -72,7 +72,7 @@ public class StringUtils implements Serializable {
         *         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());