]> git.mxchange.org Git - jcontacts-core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Tue, 18 Oct 2022 13:50:28 +0000 (15:50 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 18 Oct 2022 13:50:28 +0000 (15:50 +0200)
- removed deprecated utlities method

src/org/mxchange/jcontacts/model/contact/title/TitleUtils.java

index de873ed0dc93a17d7d95857c90d384f8662cfdb3..0d100d7a6c2a550b8e41f112ce163ee8165d1701 100644 (file)
@@ -38,27 +38,6 @@ public class TitleUtils implements Serializable {
         */
        private static char[] validChars;
 
-       /**
-        * All available personal titles as a list
-        * <p>
-        * @return Selectable personal titles
-        * @deprecated Arrays.asList() is there
-        */
-       @Deprecated
-       public static List<PersonalTitle> allPersonalTitlesAsList () {
-               // Init list
-               List<PersonalTitle> list = new LinkedList<>();
-
-               // Walk through all genders
-               for (final PersonalTitle title : PersonalTitle.values()) {
-                       // Add it and check if it has been added
-                       list.add(title);
-               }
-
-               // Return it
-               return list;
-       }
-
        /**
         * Getter for personal title enumeration from given character
         * <p>