#1663 Additionally trim the OrmQueryDetail.asString() output removing extra whitespace

This commit is contained in:
rob bygrave
2019-03-29 00:43:32 +13:00
parent 4971db54c8
commit 32b8fd0e26
3 changed files with 8 additions and 5 deletions
@@ -121,7 +121,10 @@ public class OrmQueryDetail implements Serializable {
}
if (fetchPaths != null) {
for (OrmQueryProperties join : fetchPaths.values()) {
join.append(" fetch ", sb);
if (sb.length() > 0) {
sb.append(" ");
}
join.append("fetch ", sb);
}
}
return sb.toString();