From: Roland Häder Date: Sun, 22 Jan 2023 00:02:06 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2b345df3d6bfdeeeab18ebc7a008a195a13fe1b7;p=jcontacts-core.git Continued: - removed no longer used method and you can do the same differently --- diff --git a/src/org/mxchange/jcontacts/model/contact/gender/GenderUtils.java b/src/org/mxchange/jcontacts/model/contact/gender/GenderUtils.java index 8abd41e..d0a7f82 100644 --- a/src/org/mxchange/jcontacts/model/contact/gender/GenderUtils.java +++ b/src/org/mxchange/jcontacts/model/contact/gender/GenderUtils.java @@ -18,8 +18,6 @@ package org.mxchange.jcontacts.model.contact.gender; import java.io.Serializable; import java.text.MessageFormat; -import java.util.LinkedList; -import java.util.List; /** * Gender utilities class @@ -38,25 +36,6 @@ public class GenderUtils implements Serializable { */ private static char[] validChars; - /** - * All available genders as a list - *

- * @return Selectable genders (not UNKNOWN) - */ - public static List allGenders () { - // Init list - final List list = new LinkedList<>(); - - // Walk through all genders - for (final Gender gender : Gender.values()) { - // Add it and check if it has been added - list.add(gender); - } - - // Return it - return list; - } - /** * Getter for Gender enumeration from given character *