Skip to content

Commit

Permalink
Add missing @Private (#375)
Browse files Browse the repository at this point in the history
Fix a couple of occasions in the JavaScript code where a private member
wasn't marked as such (via "@Private").

This is expected to be a non-function change, which contributes to the
refactoring effort tracked by #264.
  • Loading branch information
emaxx-google authored Jul 29, 2021
1 parent 091a517 commit a919da4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common/js/src/messaging/mock-port.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const GSC = GoogleSmartCard;
GSC.MockPort = function(opt_name) {
MockPort.base(this, 'constructor');

/** @const */
/** @private @const */
this.name_ = opt_name;

/** @type {?} */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ GSC.PcscLiteServerClientsManagement.ReadinessTracker = function(

/**
* Whether the promise is resolved (either fulfilled or rejected).
* @type {boolean}
* @type {boolean} @private
*/
this.isPromiseResolved_ = false;

Expand Down

0 comments on commit a919da4

Please sign in to comment.