BUG FIX: Fix multiple keymaps in a relation, wasn't separated by AND.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981619 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adam Heath
2010-08-02 17:42:11 +00:00
parent bc6a4b7870
commit 0864fca12f
@@ -76,6 +76,7 @@ public final class Relation extends Atom implements Iterable<KeyMap> {
sb.append(' ').append(entityName);
sb.append(" ON");
for (int i = 0; i < keyMaps.size(); i++) {
if (i != 0) sb.append(" AND ");
sb.append(' ');
keyMaps.get(i).appendTo("cur", "other", sb);
}