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 authored and Jakub Vrana committed 2020-03-11 13:27:56 +01:00
1 parent 3b97349f05
commit f722072807
15 files changed
+50 -50

No files matched your search

@@ -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() {