@@ -646,6 +646,10 @@ public static String truncate(String string, int length) {
646646 return string .length () <= length ? string : string .substring ( 0 , length );
647647 }
648648
649+ /**
650+ * @deprecated No longer used
651+ */
652+ @ Deprecated (since = "7" , forRemoval = true )
649653 public static String generateAlias (String description ) {
650654 return generateAliasRoot ( description ) + '_' ;
651655 }
@@ -658,7 +662,10 @@ public static String generateAlias(String description) {
658662 * @param unique A uniquing value
659663 *
660664 * @return an alias of the form <samp>foo1_</samp>
665+ *
666+ * @deprecated No longer used
661667 */
668+ @ Deprecated (since = "7" , forRemoval = true )
662669 public static String generateAlias (String description , int unique ) {
663670 return generateAliasRoot ( description )
664671 + AliasConstantsHelper .get ( unique );
@@ -672,7 +679,10 @@ public static String generateAlias(String description, int unique) {
672679 * @param description The root name from which to generate a root alias.
673680 *
674681 * @return The generated root alias.
682+ *
683+ * @deprecated No longer used
675684 */
685+ @ Deprecated (since = "7" , forRemoval = true )
676686 private static String generateAliasRoot (String description ) {
677687 String result = truncate ( unqualifyEntityName ( description ), ALIAS_TRUNCATE_LENGTH )
678688 .toLowerCase ( Locale .ROOT )
@@ -689,7 +699,10 @@ private static String generateAliasRoot(String description) {
689699 * @param alias The generated alias to be cleaned.
690700 *
691701 * @return The cleaned alias, stripped of any leading non-alpha characters.
702+ *
703+ * @deprecated No longer used
692704 */
705+ @ Deprecated (since = "7" , forRemoval = true )
693706 private static String cleanAlias (String alias ) {
694707 final char [] chars = alias .toCharArray ();
695708 // shortcut check...
0 commit comments