GUACAMOLE-986: Add non-nullable modifier to return type of functions never returning null

Alternatively use a primitive type instead of nullable boxed type.
This commit is contained in:
Jakub Vrána
2020-03-10 14:40:46 +01:00
committed by Jakub Vrana
parent 3b97349f05
commit f722072807
15 changed files with 50 additions and 50 deletions

View File

@@ -58,7 +58,7 @@ Guacamole.Status = function(code, message) {
/**
* Returns whether this status represents an error.
* @returns {Boolean} true if this status represents an error, false
* @returns {boolean} true if this status represents an error, false
* otherwise.
*/
this.isError = function() {