File tree 1 file changed +3
-3
lines changed
tooling/metamodel-generator/src/main/java/org/hibernate/processor
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 15
15
16
16
import static java .lang .Character .isWhitespace ;
17
17
import static java .lang .System .lineSeparator ;
18
+ import static org .hibernate .processor .util .StringUtil .removeDollar ;
18
19
19
20
20
21
/**
@@ -118,12 +119,11 @@ else if ( result.endsWith( "..." ) ) {
118
119
result = result .substring ( 0 , index );
119
120
}
120
121
121
- return ( preamble + unqualifyName ( result ) + appendices )
122
- .replace ( '$' , '.' );
122
+ return removeDollar ( (preamble + unqualifyName ( result ) + appendices ) );
123
123
}
124
124
125
125
private String unqualifyName (String qualifiedName ) {
126
- final String sourceQualifiedName = qualifiedName . replace ( '$' , '.' );
126
+ final String sourceQualifiedName = removeDollar ( qualifiedName );
127
127
final String simpleName = unqualify ( qualifiedName );
128
128
boolean canBeSimple ;
129
129
if ( simpleNames .containsKey ( simpleName ) ) {
You can’t perform that action at this time.
0 commit comments