File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tooling/metamodel-generator/src/main/java/org/hibernate/processor Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1515
1616import static java .lang .Character .isWhitespace ;
1717import static java .lang .System .lineSeparator ;
18+ import static org .hibernate .processor .util .StringUtil .removeDollar ;
1819
1920
2021/**
@@ -118,12 +119,11 @@ else if ( result.endsWith( "..." ) ) {
118119 result = result .substring ( 0 , index );
119120 }
120121
121- return ( preamble + unqualifyName ( result ) + appendices )
122- .replace ( '$' , '.' );
122+ return removeDollar ( (preamble + unqualifyName ( result ) + appendices ) );
123123 }
124124
125125 private String unqualifyName (String qualifiedName ) {
126- final String sourceQualifiedName = qualifiedName . replace ( '$' , '.' );
126+ final String sourceQualifiedName = removeDollar ( qualifiedName );
127127 final String simpleName = unqualify ( qualifiedName );
128128 boolean canBeSimple ;
129129 if ( simpleNames .containsKey ( simpleName ) ) {
You can’t perform that action at this time.
0 commit comments