GUAC-932: null connection group identifier does NOT mean root. This is implementation-dependent.
This commit is contained in:
1 parent
ab553adb3b
commit
71584fa59f
1 file changed
-4
-4
@@ -89,10 +89,6 @@ public class APIConnectionGroup {
|
|||||||
this.identifier = connectionGroup.getIdentifier();
|
this.identifier = connectionGroup.getIdentifier();
|
||||||
this.parentIdentifier = connectionGroup.getParentIdentifier();
|
this.parentIdentifier = connectionGroup.getParentIdentifier();
|
||||||
|
|
||||||
// Use the explicit ROOT group ID
|
|
||||||
if (this.parentIdentifier == null)
|
|
||||||
this.parentIdentifier = ROOT_IDENTIFIER;
|
|
||||||
|
|
||||||
this.name = connectionGroup.getName();
|
this.name = connectionGroup.getName();
|
||||||
this.type = connectionGroup.getType();
|
this.type = connectionGroup.getType();
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user