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:
1 parent
3b97349f05
commit
f722072807
15 files changed
+50
-50
No files matched your search
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user