Tidy use of StringHelper replace() in BeanProperty, BaseTableDdl

This commit is contained in:
rbygrave committed 2021-04-20 22:13:45 +12:00
1 parent c60077174e
commit 4fb3b9cddc
1 file changed
+1 -1
@@ -354,7 +354,7 @@ public class BeanProperty implements ElPropertyValue, Property, STreeProperty {
}
private String tableAliasIntern(BeanDescriptor<?> descriptor, String s, boolean dbEncrypted, String dbColumn) {
if (descriptor != null) {
if (s != null && descriptor != null) {
s = s.replace("${ta}.", "${}");
s = s.replace("${ta}", "${}");
if (dbEncrypted) {