mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1663 Additionally trim the OrmQueryDetail.asString() output removing extra whitespace
This commit is contained in:
@@ -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