@@ -646,6 +646,10 @@ public static String truncate(String string, int length) {
646
646
return string .length () <= length ? string : string .substring ( 0 , length );
647
647
}
648
648
649
+ /**
650
+ * @deprecated No longer used
651
+ */
652
+ @ Deprecated (since = "7" , forRemoval = true )
649
653
public static String generateAlias (String description ) {
650
654
return generateAliasRoot ( description ) + '_' ;
651
655
}
@@ -658,7 +662,10 @@ public static String generateAlias(String description) {
658
662
* @param unique A uniquing value
659
663
*
660
664
* @return an alias of the form <samp>foo1_</samp>
665
+ *
666
+ * @deprecated No longer used
661
667
*/
668
+ @ Deprecated (since = "7" , forRemoval = true )
662
669
public static String generateAlias (String description , int unique ) {
663
670
return generateAliasRoot ( description )
664
671
+ AliasConstantsHelper .get ( unique );
@@ -672,7 +679,10 @@ public static String generateAlias(String description, int unique) {
672
679
* @param description The root name from which to generate a root alias.
673
680
*
674
681
* @return The generated root alias.
682
+ *
683
+ * @deprecated No longer used
675
684
*/
685
+ @ Deprecated (since = "7" , forRemoval = true )
676
686
private static String generateAliasRoot (String description ) {
677
687
String result = truncate ( unqualifyEntityName ( description ), ALIAS_TRUNCATE_LENGTH )
678
688
.toLowerCase ( Locale .ROOT )
@@ -689,7 +699,10 @@ private static String generateAliasRoot(String description) {
689
699
* @param alias The generated alias to be cleaned.
690
700
*
691
701
* @return The cleaned alias, stripped of any leading non-alpha characters.
702
+ *
703
+ * @deprecated No longer used
692
704
*/
705
+ @ Deprecated (since = "7" , forRemoval = true )
693
706
private static String cleanAlias (String alias ) {
694
707
final char [] chars = alias .toCharArray ();
695
708
// shortcut check...
0 commit comments