Skip to content

Commit

Permalink
RELNOTES: Add non-nullable modifier to return type of functions never…
Browse files Browse the repository at this point in the history
… returning null.

PiperOrigin-RevId: 301183010
  • Loading branch information
vrana authored and shicks committed Mar 19, 2020
1 parent 294fc00 commit a93d568
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion closure/goog/labs/net/webchannel/requeststats.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ goog.inherits(requestStats.StatEvent, goog.events.Event);

/**
* Returns the singleton event target for stat events.
* @return {goog.events.EventTarget} The event target for stat events.
* @return {!goog.events.EventTarget} The event target for stat events.
*/
requestStats.getStatEventTarget = function() {
return requestStats.getStatEventTarget_();
Expand Down
2 changes: 1 addition & 1 deletion closure/goog/labs/useragent/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ goog.labs.userAgent.util.getNativeUserAgentString_ = function() {
/**
* Getter for the native navigator.
* This is a separate function so it can be stubbed out in testing.
* @return {Navigator}
* @return {!Navigator}
* @private
*/
goog.labs.userAgent.util.getNavigator_ = function() {
Expand Down

0 comments on commit a93d568

Please sign in to comment.