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.JSONReader = function guacamoleJSONReader(stream) {
/**
* Returns the current length of this Guacamole.JSONReader, in characters.
*
* @return {Number}
* @return {!Number}
* The current length of this Guacamole.JSONReader.
*/
this.getLength = function getLength() {