mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#1663 Additionally trim the OrmQueryDetail.asString() output removing extra whitespace
This commit is contained in:
1 parent
4971db54c8
commit
32b8fd0e26
3 files changed
+8
-5
No files matched your search
@@ -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();
|
||||
|
||||
@@ -294,7 +294,7 @@ public class OrmQueryProperties implements Serializable {
|
||||
sb.append(path).append(" ");
|
||||
}
|
||||
if (!isEmpty()) {
|
||||
sb.append("(").append(rawProperties).append(") ");
|
||||
sb.append("(").append(rawProperties).append(")");
|
||||
}
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user