GUACAMOLE-220: Rows are deleted to modify the one-to-many relationship, not to establish it.
Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/7521cdc0 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/7521cdc0 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/7521cdc0 Branch: refs/heads/master Commit: 7521cdc0aea8f307e1097a82295fd3e9a2538660 Parents: 5fdd0bb Author: Michael Jumper <mjum...@apache.org> Authored: Thu Sep 27 20:10:32 2018 -0700 Committer: Michael Jumper <mjum...@apache.org> Committed: Thu Sep 27 20:10:32 2018 -0700 ---------------------------------------------------------------------- .../org/apache/guacamole/auth/jdbc/base/ObjectRelationMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/7521cdc0/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/base/ObjectRelationMapper.java ---------------------------------------------------------------------- diff --git a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/base/ObjectRelationMapper.java b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/base/ObjectRelationMapper.java index 082db0f..c2763ec 100644 --- a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/base/ObjectRelationMapper.java +++ b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/base/ObjectRelationMapper.java @@ -56,7 +56,7 @@ public interface ObjectRelationMapper<ParentModelType extends ObjectModel> { @Param("children") Collection<String> children); /** - * Deletes rows as necessary to establish the one-to-many relationship + * Deletes rows as necessary to modify the one-to-many relationship * represented by the RelatedObjectSet between the given parent and * children. If the relation for any parent/child pair does not exist, * that specific relation is ignored, and deletion proceeds with the