mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 13:41:21 +00:00
GUAC-933: Do not set parent identifier to the string "null".
This commit is contained in:
@@ -103,7 +103,13 @@ public class MySQLConnection extends AbstractConnection {
|
|||||||
*/
|
*/
|
||||||
public void setParentID(Integer parentID) {
|
public void setParentID(Integer parentID) {
|
||||||
this.parentID = parentID;
|
this.parentID = parentID;
|
||||||
|
|
||||||
|
// Translate to string identifier
|
||||||
|
if (parentID != null)
|
||||||
this.setParentIdentifier(String.valueOf(parentID));
|
this.setParentIdentifier(String.valueOf(parentID));
|
||||||
|
else
|
||||||
|
this.setParentIdentifier(null);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -124,7 +124,13 @@ public class MySQLConnectionGroup extends AbstractConnectionGroup {
|
|||||||
*/
|
*/
|
||||||
public void setParentID(Integer parentID) {
|
public void setParentID(Integer parentID) {
|
||||||
this.parentID = parentID;
|
this.parentID = parentID;
|
||||||
|
|
||||||
|
// Translate to string identifier
|
||||||
|
if (parentID != null)
|
||||||
this.setParentIdentifier(String.valueOf(parentID));
|
this.setParentIdentifier(String.valueOf(parentID));
|
||||||
|
else
|
||||||
|
this.setParentIdentifier(null);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user