Repository: cayenne Updated Branches: refs/heads/master 7293ed6b0 -> b9f832c65
javadocs Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/b9f832c6 Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/b9f832c6 Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/b9f832c6 Branch: refs/heads/master Commit: b9f832c651edd5324927376ee3dbd22afcbf06e9 Parents: 7293ed6 Author: Andrus Adamchik <and...@objectstyle.com> Authored: Fri Nov 4 17:25:08 2016 +0300 Committer: Andrus Adamchik <and...@objectstyle.com> Committed: Fri Nov 4 17:25:08 2016 +0300 ---------------------------------------------------------------------- .../apache/cayenne/dbsync/naming/ObjectNameGenerator.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cayenne/blob/b9f832c6/cayenne-dbsync/src/main/java/org/apache/cayenne/dbsync/naming/ObjectNameGenerator.java ---------------------------------------------------------------------- diff --git a/cayenne-dbsync/src/main/java/org/apache/cayenne/dbsync/naming/ObjectNameGenerator.java b/cayenne-dbsync/src/main/java/org/apache/cayenne/dbsync/naming/ObjectNameGenerator.java index f2b94e3..06396b9 100644 --- a/cayenne-dbsync/src/main/java/org/apache/cayenne/dbsync/naming/ObjectNameGenerator.java +++ b/cayenne-dbsync/src/main/java/org/apache/cayenne/dbsync/naming/ObjectNameGenerator.java @@ -43,12 +43,10 @@ public interface ObjectNameGenerator { /** * Generates a String that can be used as a name of an ObjRelationship, derived from join semantics of a chain of - * connected DbRelationships. The chain must contain at least one relationship. - * - * <p>If we are dealing with a flattened - * relationship, extra relationships can be passed. They must be in the same order as they will be in a flattened + * connected DbRelationships. + * <p>The chain must contain at least one relationship. Though if we are dealing with a flattened + * relationship, more than one can be passed, in the same order as they are present in a flattened * relationship. - * * <p>Generated name can be usually applied to either ObjRelationship or DbRelationship (in which case the chain * must have exactly one parameter). */