diff --git a/closure/goog/crypt/hash32.js b/closure/goog/crypt/hash32.js index fdb99476cb..07224641e2 100644 --- a/closure/goog/crypt/hash32.js +++ b/closure/goog/crypt/hash32.js @@ -6,8 +6,6 @@ /** * @fileoverview Implementation of 32-bit hashing functions. - * - * This is a direct port from the Google Java Hash class */ goog.provide('goog.crypt.hash32'); @@ -17,7 +15,6 @@ goog.require('goog.crypt'); /** * Default seed used during hashing, digits of pie. - * See SEED32 in http://go/base.hash.java * @type {number} */ goog.crypt.hash32.SEED32 = 314159265; @@ -25,7 +22,6 @@ goog.crypt.hash32.SEED32 = 314159265; /** * Arbitrary constant used during hashing. - * See CONSTANT32 in http://go/base.hash.java * @type {number} */ goog.crypt.hash32.CONSTANT32 = -1640531527; diff --git a/closure/goog/crypt/hash32_test.js b/closure/goog/crypt/hash32_test.js index 12c2021bdb..34d224ddd2 100644 --- a/closure/goog/crypt/hash32_test.js +++ b/closure/goog/crypt/hash32_test.js @@ -19,9 +19,6 @@ const testSuite = goog.require('goog.testing.testSuite'); // NOTE: This test uses a custom test case, see end of script block -// Test data based on known input/output pairs generated using -// http://go/hash.java - function createByteArray(n) { const arr = []; for (let i = 0; i < n; i++) { diff --git a/closure/goog/date/daterange.js b/closure/goog/date/daterange.js index 91f5647de2..7821d93106 100644 --- a/closure/goog/date/daterange.js +++ b/closure/goog/date/daterange.js @@ -308,7 +308,8 @@ goog.date.DateRange.allTime = function(opt_today) { /** * Standard date range keys. Equivalent to the enum IDs in - * DateRange.java http://go/datarange.java + * older versions of Guava's DateRange. + * * * @enum {string} */ diff --git a/closure/goog/disposable/idisposable.js b/closure/goog/disposable/idisposable.js index 52db6af321..ac5fb041b1 100644 --- a/closure/goog/disposable/idisposable.js +++ b/closure/goog/disposable/idisposable.js @@ -28,7 +28,7 @@ goog.provide('goog.disposable.IDisposable'); * to null as garbage collector will collect them assuming that references to * current object will be lost after it is disposed. * - * See also http://go/mdn/JavaScript/Memory_Management. + * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Memory_Management * * @record */ diff --git a/closure/goog/dom/dom.js b/closure/goog/dom/dom.js index ea1ac3177f..0937f56f49 100644 --- a/closure/goog/dom/dom.js +++ b/closure/goog/dom/dom.js @@ -2102,7 +2102,7 @@ goog.dom.isFocusableTabIndex = function(element) { * Enables or disables keyboard focus support on the element via its tab index. * Only elements for which {@link goog.dom.isFocusableTabIndex} returns true * (or elements that natively support keyboard focus, like form elements) can - * receive keyboard focus. See http://go/tabindex for more info. + * receive keyboard focus. * @param {Element} element Element whose tab index is to be changed. * @param {boolean} enable Whether to set or remove a tab index on the element * that supports keyboard focus. @@ -3330,7 +3330,7 @@ goog.dom.DomHelper.prototype.isFocusableTabIndex = goog.dom.isFocusableTabIndex; * Enables or disables keyboard focus support on the element via its tab index. * Only elements for which {@link goog.dom.isFocusableTabIndex} returns true * (or elements that natively support keyboard focus, like form elements) can - * receive keyboard focus. See http://go/tabindex for more info. + * receive keyboard focus. * @param {Element} element Element whose tab index is to be changed. * @param {boolean} enable Whether to set or remove a tab index on the element * that supports keyboard focus. diff --git a/closure/goog/dom/xml.js b/closure/goog/dom/xml.js index e2b3b9afa5..b5d333168f 100644 --- a/closure/goog/dom/xml.js +++ b/closure/goog/dom/xml.js @@ -243,8 +243,7 @@ goog.dom.xml.createMsXmlDocument_ = function() { 'use strict'; var doc = new ActiveXObject('MSXML2.DOMDocument'); if (doc) { - // Prevent potential vulnerabilities exposed by MSXML2, see - // http://b/1707300 and http://go/xxe-attacks for details. + // Prevent potential vulnerabilities exposed by MSXML2. doc.resolveExternals = false; doc.validateOnParse = false; // Add a try catch block because accessing these properties will throw an diff --git a/closure/goog/editor/plugins/removeformatting.js b/closure/goog/editor/plugins/removeformatting.js index e032a81818..5921f49dd4 100644 --- a/closure/goog/editor/plugins/removeformatting.js +++ b/closure/goog/editor/plugins/removeformatting.js @@ -624,7 +624,6 @@ goog.editor.plugins.RemoveFormatting.prototype.convertSelectedHtmlText_ = * browser's execCommand couldn't clobber without being totally inefficient. * Attempts to convert visual line breaks to BRs. Leaves anchors that contain an * href and images. - * Adapted from Gmail's MessageUtil's htmlToPlainText. http://go/messageutil.js * @param {string} html The original html of the message. * @return {string} The unformatted html, which is just text, br's, anchors and * images. diff --git a/closure/goog/i18n/bidiformatter.js b/closure/goog/i18n/bidiformatter.js index c3bd18a022..7202abb18e 100644 --- a/closure/goog/i18n/bidiformatter.js +++ b/closure/goog/i18n/bidiformatter.js @@ -7,7 +7,6 @@ /** * @fileoverview Utility for formatting text for display in a potentially * opposite-directionality context without garbling. - * Mostly a port of http://go/formatter.cc. */ diff --git a/closure/goog/i18n/charlistdecompressor.js b/closure/goog/i18n/charlistdecompressor.js index b5340a1c53..09276ae04f 100644 --- a/closure/goog/i18n/charlistdecompressor.js +++ b/closure/goog/i18n/charlistdecompressor.js @@ -20,8 +20,6 @@ * Value uses 0 based counting. That is value for the range [a, b] is 0 and * that of [a, c] is 1. Simillarly, the delta of "ab" is 0. * - * Following python script can be used to compress character lists taken - * standard input: http://go/charlistcompressor.py */ goog.provide('goog.i18n.CharListDecompressor'); diff --git a/closure/goog/i18n/datetimeformat_test.js b/closure/goog/i18n/datetimeformat_test.js index 49802d437d..22ac2a857c 100644 --- a/closure/goog/i18n/datetimeformat_test.js +++ b/closure/goog/i18n/datetimeformat_test.js @@ -85,13 +85,11 @@ function timezoneStringRFC(date) { return timeZone.getRFCTimeZoneString(date); } -// Where could such data be found -// In js_i18n_data in http://go/i18n_dir, we have a bunch of files with names -// like TimeZoneConstant__.js -// We strongly discourage you to use them directly as those data can make -// your client code bloated. You should try to provide this data from server -// in a selective manner. In typical scenario, user's time zone is retrieved -// and only data for that time zone should be provided. +// We strongly discourage you to use localization data for individual locales +// directly as those data can make your client code bloated. You should try to +// provide this data from server in a selective manner. In typical scenario, +// user's time zone is retrieved and only data for that time zone should be +// provided. Alternatively, consider the newer Intl APIs. const americaLosAngelesData = { 'transitions': [ 2770, 60, 7137, 0, 11506, 60, 16041, 0, 20410, 60, 24777, 0, diff --git a/closure/goog/i18n/messageformat.js b/closure/goog/i18n/messageformat.js index 7a13b9b479..50f1af2219 100644 --- a/closure/goog/i18n/messageformat.js +++ b/closure/goog/i18n/messageformat.js @@ -23,8 +23,6 @@ * * This is a subset of the ICU MessageFormatSyntax: * http://userguide.icu-project.org/formatparse/messages - * See also http://go/plurals and http://go/ordinals for internal details. - * * * Message example: * diff --git a/closure/goog/i18n/timezone_test.js b/closure/goog/i18n/timezone_test.js index b885470606..3b2e7539fd 100644 --- a/closure/goog/i18n/timezone_test.js +++ b/closure/goog/i18n/timezone_test.js @@ -10,14 +10,11 @@ goog.setTestOnly(); const TimeZone = goog.require('goog.i18n.TimeZone'); const testSuite = goog.require('goog.testing.testSuite'); -// Where could such data be found -// In js_i18n_data in http://go/i18n_dir, we have a bunch of files with names -// like TimeZoneConstant__.js -// We strongly discourage you to use them directly as those data can make -// your client code bloated. You should try to provide this data from server -// in a selective manner. In typical scenario, user's time zone is retrieved -// and only data for that time zone should be provided. -// This piece of data is in JSON format. It requires double quote. +// We strongly discourage you to use localization data for individual locales +// directly as those data can make your client code bloated. You should try to +// provide this data from server in a selective manner. In typical scenario, +// user's time zone is retrieved and only data for that time zone should be +// provided. Alternatively, consider the newer Intl APIs. const americaLosAngelesData = { 'transitions': [ 2770, 60, 7137, 0, 11506, 60, 16041, 0, 20410, 60, 24777, 0, diff --git a/closure/goog/labs/mock/mock.js b/closure/goog/labs/mock/mock.js index e6475658f4..d286d2d0a8 100644 --- a/closure/goog/labs/mock/mock.js +++ b/closure/goog/labs/mock/mock.js @@ -13,7 +13,6 @@ * object (spying) and returning specific values for some or all the inputs to * methods (stubbing). * - * Manual: http://go/goog.labs.mock */ diff --git a/closure/goog/labs/testing/environment.js b/closure/goog/labs/testing/environment.js index ea3c61b4da..f06db18edf 100644 --- a/closure/goog/labs/testing/environment.js +++ b/closure/goog/labs/testing/environment.js @@ -25,7 +25,6 @@ goog.require('goog.testing.jsunit'); * are instantiated and registered. During tearDown, the environments will * unwind the setUp and execute in reverse order. * - * See http://go/jsunit-env for more information. */ goog.labs.testing.Environment = goog.defineClass(null, { /** @constructor */ diff --git a/closure/goog/labs/useragent/test_agents.js b/closure/goog/labs/useragent/test_agents.js index 18390a505f..22bc18b243 100644 --- a/closure/goog/labs/useragent/test_agents.js +++ b/closure/goog/labs/useragent/test_agents.js @@ -6,8 +6,7 @@ /** * @fileoverview Various User-Agent strings. - * See http://go/useragentexamples and http://www.useragentstring.com/ for - * examples. + * See http://www.useragentstring.com/ for examples. */ goog.module('goog.labs.userAgent.testAgents'); diff --git a/closure/goog/locale/genericfontnames.js b/closure/goog/locale/genericfontnames.js index f0652263d4..c191880337 100644 --- a/closure/goog/locale/genericfontnames.js +++ b/closure/goog/locale/genericfontnames.js @@ -8,7 +8,6 @@ * @fileoverview Functions to list locale-specific font list and generic name. * Generic name used for a font family would be locale dependent. For example, * for 'zh'(Chinese) users, the name for Serif family would be in Chinese. - * Further documentation at: http://go/genericfontnames. */ goog.provide('goog.locale.genericFontNames'); diff --git a/closure/goog/locale/locale.js b/closure/goog/locale/locale.js index 6bb30f3c08..3ffe239407 100644 --- a/closure/goog/locale/locale.js +++ b/closure/goog/locale/locale.js @@ -158,9 +158,9 @@ goog.locale.getNativeCountryName = function(countryCode) { * Returns the localized country name for the provided language code in the * current or provided locale symbols set. * - * This method depends on `goog.locale.LocaleNameConstants__` available - * from http://go/js_locale_data. User of this method has to add dependency to - * this. + * This method depends on `goog.locale.LocaleNameConstants__` available, + * which are not provided as part of Closure Library since this package is + * deprecated. Users must manually add a workable dependency. * * @param {string} languageCode Language code to lookup the country name for. * @param {Object=} opt_localeSymbols If omitted the current locale symbol @@ -181,9 +181,9 @@ goog.locale.getLocalizedCountryName = function( * Returns the localized country name for the provided language code in the * current or provided locale symbols set. * - * This method depends on `goog.locale.LocaleNameConstants__` available - * from http://go/js_locale_data. User of this method has to add dependency to - * this. + * This method depends on `goog.locale.LocaleNameConstants__` available, + * which are not provided as part of Closure Library since this package is + * deprecated. Users must manually add a workable dependency. * * @param {string} regionCode Two character country code or three digit region * code to look up the country name for. @@ -230,9 +230,9 @@ goog.locale.getNativeLanguageName = function(languageCode) { * Returns the localized language name for the provided language code in * the current or provided locale symbols set. * - * This method depends on `goog.locale.LocaleNameConstants__` available - * from http://go/js_locale_data. User of this method has to add dependency to - * this. + * This method depends on `goog.locale.LocaleNameConstants__` available, + * which are not provided as part of Closure Library since this package is + * deprecated. Users must manually add a workable dependency. * * @param {string} languageCode Language code to lookup the language name for. * @param {Object=} opt_localeSymbols locale symbol set if given. @@ -428,7 +428,6 @@ goog.locale.getResourceWithFallback = function(resourceName, opt_locale) { // Export global functions that are used by the date time constants files. -// See http://go/js_locale_data /** * Registers the LocaleNameConstants constants object for a given locale name. diff --git a/closure/goog/locale/timezonefingerprint.js b/closure/goog/locale/timezonefingerprint.js index 56d532c37e..60317f7f57 100644 --- a/closure/goog/locale/timezonefingerprint.js +++ b/closure/goog/locale/timezonefingerprint.js @@ -7,10 +7,7 @@ /** * @fileoverview Data for time zone detection. * - * The following code was generated by the timezone_detect.py script in: - * http://go/i18n_tools which uses following files in this directory: - * http://go/timezone_data - * Files: olson2fingerprint.txt, country2olsons.txt, popular_olsons.txt + * The following code was generated by an internal tool. * * After automatic generation, we added some manual editing. Projecting on * future changes, it is very unlikely that we will need to change the time diff --git a/closure/goog/locale/timezonelist.js b/closure/goog/locale/timezonelist.js index 10f37589a1..2c68ed20b5 100644 --- a/closure/goog/locale/timezonelist.js +++ b/closure/goog/locale/timezonelist.js @@ -21,9 +21,9 @@ goog.require('goog.locale'); * Returns the displayable list of short timezone names paired with its id for * the current locale, selected based on the region or language provided. * - * This method depends on `goog.locale.TimeZone*__` available - * from http://go/js_locale_data. Users of this method must add a dependency on - * this. + * This method depends on `goog.locale.TimeZone*__` being available, + * which are not provided as part of Closure Library since this package is + * deprecated. Users must manually add a workable dependency. * * @param {string=} opt_regionOrLang If region tag is provided, timezone ids * specific this region are considered. If language is provided, all regions @@ -45,9 +45,9 @@ goog.locale.getTimeZoneSelectedShortNames = function(opt_regionOrLang) { * Returns the displayable list of long timezone names paired with its id for * the current locale, selected based on the region or language provided. * - * This method depends on `goog.locale.TimeZone*__` available - * from http://go/js_locale_data. Users of this method must add a dependency on - * this. + * This method depends on `goog.locale.TimeZone*__` being available, + * which are not provided as part of Closure Library since this package is + * deprecated. Users must manually add a workable dependency. * * @param {string=} opt_regionOrLang If region tag is provided, timezone ids * specific this region are considered. If language is provided, all regions @@ -69,9 +69,9 @@ goog.locale.getTimeZoneSelectedLongNames = function(opt_regionOrLang) { * Returns the displayable list of long timezone names paired with its id for * the current locale. * - * This method depends on `goog.locale.TimeZoneAllLongNames__` available - * from http://go/js_locale_data. Users of this method must add a dependency on - * this. + * This method depends on `goog.locale.TimeZoneAllLongNames__`, + * which are is provided as part of Closure Library since this package is + * deprecated. Users must manually add a workable dependency. * * @return {Array} localized and relevant list of timezone names * and ids. @@ -88,9 +88,9 @@ goog.locale.getTimeZoneAllLongNames = function() { * Returns the displayable list of timezone names paired with its id for * the current locale, selected based on the region or language provided. * - * This method depends on `goog.locale.TimeZone*__` available - * from http://go/js_locale_data. Users of this method must add a dependency on - * this. + * This method depends on `goog.locale.TimeZone*__` being available, + * which are not provided as part of Closure Library since this package is + * deprecated. Users must manually add a workable dependency. * * @param {string} nameType Resource name to be loaded to get the names. * diff --git a/closure/goog/locale/timezonelist_test.js b/closure/goog/locale/timezonelist_test.js index 1e310f9564..bdaf5eeebb 100644 --- a/closure/goog/locale/timezonelist_test.js +++ b/closure/goog/locale/timezonelist_test.js @@ -57,7 +57,6 @@ document.write('
'); testSuite({ setUpPage() { - // Test data files are in in http://go/js_locale_data // Test data from TimeZoneSelectedIds__FR.js const TimeZoneSelectedIds__FR = diff --git a/closure/goog/module/loader.js b/closure/goog/module/loader.js index 76be5a5afd..81909d9acb 100644 --- a/closure/goog/module/loader.js +++ b/closure/goog/module/loader.js @@ -9,7 +9,6 @@ * @fileoverview This class supports the dynamic loading of compiled * javascript modules at runtime, as described in the designdoc. * - * */ goog.provide('goog.module.Loader'); diff --git a/closure/goog/module/module.js b/closure/goog/module/module.js index 548bef4551..1b600ca5b5 100644 --- a/closure/goog/module/module.js +++ b/closure/goog/module/module.js @@ -9,7 +9,6 @@ * @fileoverview This class supports the dynamic loading of compiled * javascript modules at runtime, as described in the designdoc. * - * */ goog.provide('goog.module'); diff --git a/closure/goog/net/channelrequest.js b/closure/goog/net/channelrequest.js index f8f3976a50..edd694f804 100644 --- a/closure/goog/net/channelrequest.js +++ b/closure/goog/net/channelrequest.js @@ -899,7 +899,7 @@ goog.net.ChannelRequest.prototype.getNextChunk_ = function(responseText) { /** * Uses the Trident htmlfile ActiveX control to send a GET request in IE. This * is the innovation discovered that lets us get intermediate results in - * Internet Explorer. Thanks to http://go/kev + * Internet Explorer. * @param {goog.Uri} uri The uri to request from. * @param {boolean} usingSecondaryDomain Whether to use a secondary domain. */ diff --git a/closure/goog/net/crossdomainrpc.js b/closure/goog/net/crossdomainrpc.js index 4b9d22ac95..8ef905cfc0 100644 --- a/closure/goog/net/crossdomainrpc.js +++ b/closure/goog/net/crossdomainrpc.js @@ -5,8 +5,7 @@ */ /** - * @fileoverview Cross domain RPC library using the XD2 approach. + * @fileoverview Cross domain RPC library using the XD2 approach. * *
Protocol
* Client sends a request across domain via a form submission. Server @@ -43,13 +42,6 @@ * </body> * * - *
Server Side
- * For an example of the server side, refer to the following files: - *
    - *
  • http://go/xdservletfilter.java
  • - *
  • http://go/xdservletrequest.java
  • - *
  • http://go/xdservletresponse.java
  • - *
* *
System Requirements
* Tested on IE6, IE7, Firefox 2.0 and Safari nightly r23841. diff --git a/closure/goog/reflect/reflect.js b/closure/goog/reflect/reflect.js index 70de7a64a1..457e12ba08 100644 --- a/closure/goog/reflect/reflect.js +++ b/closure/goog/reflect/reflect.js @@ -13,7 +13,6 @@ goog.provide('goog.reflect'); /** * Syntax for object literal casts. - * @see http://go/jscompiler-renaming * @see https://goo.gl/CRs09P * * Use this if you have an object literal whose keys need to have the same names diff --git a/closure/goog/ui/style/app/buttonrenderer.js b/closure/goog/ui/style/app/buttonrenderer.js index 787e78e0ca..20d62bf560 100644 --- a/closure/goog/ui/style/app/buttonrenderer.js +++ b/closure/goog/ui/style/app/buttonrenderer.js @@ -12,8 +12,6 @@ * dimensionality (via a subtle flat shadow on the bottom half of the button) * without the use of images. * - * Based on the Custom Buttons 3.1 visual specification, see - * http://go/custombuttons */ goog.provide('goog.ui.style.app.ButtonRenderer');