From a898413c8c7aa2c76db32915c978fa30a45f57e0 Mon Sep 17 00:00:00 2001 From: mcilwain Date: Fri, 23 Feb 2018 09:51:07 -0800 Subject: [PATCH] Remove final uses of @code in JS comments This fixes the build broken by [] ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=186782466 --- java/google/registry/ui/js/console.js | 2 +- java/google/registry/ui/js/edit_item.js | 8 ++++---- .../registry/ui/js/registrar/console.js | 2 +- .../registry/ui/js/registrar/payment.js | 2 +- java/google/registry/ui/js/util.js | 2 +- .../ui/js/registrar/console_test_util.js | 2 +- javatests/google/registry/ui/js/testing.js | 4 ++-- third_party/jsch/v0_1_53/README.md | 19 +----------------- third_party/jsch/v0_1_53/jsch-0.1.53-src.jar | Bin 310873 -> 276676 bytes third_party/jsch/v0_1_53/jsch-0.1.53.jar | Bin 306342 -> 305288 bytes 10 files changed, 12 insertions(+), 29 deletions(-) diff --git a/java/google/registry/ui/js/console.js b/java/google/registry/ui/js/console.js index 74115aa44..2de59f4b6 100644 --- a/java/google/registry/ui/js/console.js +++ b/java/google/registry/ui/js/console.js @@ -77,7 +77,7 @@ registry.Console.prototype.bindToDom = function() { /** * Subclasses should override to visit the hash token given by - * {@code goog.History.getToken()}. + * `goog.History.getToken()`. */ registry.Console.prototype.handleHashChange = goog.abstractMethod; diff --git a/java/google/registry/ui/js/edit_item.js b/java/google/registry/ui/js/edit_item.js index d2888c944..433646369 100644 --- a/java/google/registry/ui/js/edit_item.js +++ b/java/google/registry/ui/js/edit_item.js @@ -94,8 +94,8 @@ registry.EditItem.prototype.setupAppbar = function() { /** - * Retrieve item from server. Overrides should callback to {@code - * #handleFetchItem(string, !Object)}. + * Retrieve item from server. Overrides should callback to + * `#handleFetchItem(string, !Object)`. * @param {string} id item id. */ registry.EditItem.prototype.fetchItem = goog.abstractMethod; @@ -136,8 +136,8 @@ registry.EditItem.prototype.isEditing = function() { /** * Toggles the editing state of a component. This will first hide the * elements of the `shown` class, then adds the `editing` - * style to the component, then shows the elements that had the {@code - * hidden} class. + * style to the component, then shows the elements that had the `hidden` + * class. */ registry.EditItem.prototype.toggleEdit = function() { // Toggle appbar buttons. diff --git a/java/google/registry/ui/js/registrar/console.js b/java/google/registry/ui/js/registrar/console.js index f43aad53e..68927f16e 100644 --- a/java/google/registry/ui/js/registrar/console.js +++ b/java/google/registry/ui/js/registrar/console.js @@ -103,7 +103,7 @@ goog.inherits(registry.registrar.Console, registry.Console); * #type/id * * - *

The `id` part may be appended by {@code ()} to specify the target + *

The `id` part may be appended by `()` to specify that the target * should be a resource create page. * * @override diff --git a/java/google/registry/ui/js/registrar/payment.js b/java/google/registry/ui/js/registrar/payment.js index 9ee6277ef..154953949 100644 --- a/java/google/registry/ui/js/registrar/payment.js +++ b/java/google/registry/ui/js/registrar/payment.js @@ -334,7 +334,7 @@ registry.registrar.Payment.prototype.onMessage_ = function(e) { * *

This approach is also advantageous for screenshot testing. We do not want * our continuous integration testing system to talk to Braintree's servers. So - * we mock out the brainframe with {@code integration-test-brainframe.html} + * we mock out the brainframe with `integration-test-brainframe.html` * which only sends us a METHOD message, which we then render ourselves. * * @param {!braintreepayments.PaymentMethod} pm diff --git a/java/google/registry/ui/js/util.js b/java/google/registry/ui/js/util.js index 4973a34d2..119027f8c 100644 --- a/java/google/registry/ui/js/util.js +++ b/java/google/registry/ui/js/util.js @@ -20,7 +20,7 @@ goog.require('goog.soy'); /** - * Logging function that delegates to {@code console.log()}. + * Logging function that delegates to `console.log()`. * @param {...*} var_args */ registry.util.log = function(var_args) { diff --git a/javatests/google/registry/ui/js/registrar/console_test_util.js b/javatests/google/registry/ui/js/registrar/console_test_util.js index 0a93ddac2..9418099b8 100644 --- a/javatests/google/registry/ui/js/registrar/console_test_util.js +++ b/javatests/google/registry/ui/js/registrar/console_test_util.js @@ -51,7 +51,7 @@ registry.registrar.ConsoleTestUtil.setup = function(test) { * @param {Object} test the test case to configure. * @param {Object=} opt_args may include path, isEppLoggedIn. * @param {Function=} opt_moar extra setup after called just before - * {@code $replayAll}. See memegen/3437690. + * `$replayAll`. See memegen/3437690. */ registry.registrar.ConsoleTestUtil.visit = function( test, opt_args, opt_moar) { diff --git a/javatests/google/registry/ui/js/testing.js b/javatests/google/registry/ui/js/testing.js index e650e2be0..84984c3f4 100644 --- a/javatests/google/registry/ui/js/testing.js +++ b/javatests/google/registry/ui/js/testing.js @@ -41,7 +41,7 @@ registry.testing.addToDocument = function(html) { /** - * Extracts XML document from inside an {@code