You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by mj...@apache.org on 2021/02/22 00:04:04 UTC
[guacamole-client] 01/01: GUACAMOLE-986: Merge explicit
documentation of non-nullable return values and parameters.
This is an automated email from the ASF dual-hosted git repository.
mjumper pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/guacamole-client.git
commit ed849860b889c4e52ecb7596d34a6ca63236571e
Merge: ed020d7 f722072
Author: Mike Jumper <mj...@apache.org>
AuthorDate: Sun Feb 21 16:03:54 2021 -0800
GUACAMOLE-986: Merge explicit documentation of non-nullable return values and parameters.
.../src/main/webapp/modules/AudioPlayer.js | 8 ++++----
.../src/main/webapp/modules/AudioRecorder.js | 12 ++++++------
.../src/main/webapp/modules/BlobWriter.js | 2 +-
guacamole-common-js/src/main/webapp/modules/Client.js | 12 ++++++------
guacamole-common-js/src/main/webapp/modules/Display.js | 18 +++++++++---------
.../src/main/webapp/modules/JSONReader.js | 2 +-
.../src/main/webapp/modules/Keyboard.js | 12 ++++++------
guacamole-common-js/src/main/webapp/modules/Layer.js | 4 ++--
guacamole-common-js/src/main/webapp/modules/Mouse.js | 4 ++--
.../src/main/webapp/modules/OnScreenKeyboard.js | 8 ++++----
.../src/main/webapp/modules/SessionRecording.js | 4 ++--
guacamole-common-js/src/main/webapp/modules/Status.js | 2 +-
.../src/main/webapp/modules/StringReader.js | 2 +-
guacamole-common-js/src/main/webapp/modules/Tunnel.js | 6 +++---
.../src/main/webapp/modules/VideoPlayer.js | 4 ++--
15 files changed, 50 insertions(+), 50 deletions(-)
diff --cc guacamole-common-js/src/main/webapp/modules/Tunnel.js
index 1464266,f84c6d0..4912988
--- a/guacamole-common-js/src/main/webapp/modules/Tunnel.js
+++ b/guacamole-common-js/src/main/webapp/modules/Tunnel.js
@@@ -74,23 -74,9 +74,23 @@@ Guacamole.Tunnel = function()
};
/**
+ * Changes the stored UUID that uniquely identifies this tunnel, firing the
+ * onuuid event if a handler has been defined.
+ *
+ * @private
+ * @param {String} uuid
+ * The new state of this tunnel.
+ */
+ this.setUUID = function setUUID(uuid) {
+ this.uuid = uuid;
+ if (this.onuuid)
+ this.onuuid(uuid);
+ };
+
+ /**
* Returns whether this tunnel is currently connected.
*
- * @returns {Boolean}
+ * @returns {boolean}
* true if this tunnel is currently connected, false otherwise.
*/
this.isConnected = function isConnected() {