Fix a number of outdated references to dartlang.org in doc comments

Eliminated several links to content that no longer exists

Change-Id: Icd7bf5796a061882ba384e39d78d5f8ff429696d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/154362
Commit-Queue: Kevin Moore <kevmoo@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
Auto-Submit: Kevin Moore <kevmoo@google.com>
This commit is contained in:
Kevin Moore 2020-07-15 01:11:03 +00:00 committed by commit-bot@chromium.org
parent ab7b33d50b
commit 966078df3a
14 changed files with 38 additions and 70 deletions

View file

@ -1,8 +1,8 @@
ERROR|COMPILE_TIME_ERROR|CONST_CONSTRUCTOR_THROWS_EXCEPTION|lib/core/core.dart|3726|5|94|Const constructors can't throw exceptions.
ERROR|COMPILE_TIME_ERROR|CONST_CONSTRUCTOR_THROWS_EXCEPTION|lib/core/core.dart|7916|5|97|Const constructors can't throw exceptions.
ERROR|COMPILE_TIME_ERROR|CONST_CONSTRUCTOR_THROWS_EXCEPTION|lib/core/core.dart|940|5|95|Const constructors can't throw exceptions.
ERROR|COMPILE_TIME_ERROR|CONST_CONSTRUCTOR_THROWS_EXCEPTION|lib/core/core.dart|973|5|94|Const constructors can't throw exceptions.
ERROR|SYNTACTIC_ERROR|CONST_FACTORY|lib/core/core.dart|3724|3|5|Only redirecting factory constructors can be declared to be 'const'.
ERROR|SYNTACTIC_ERROR|CONST_FACTORY|lib/core/core.dart|7914|3|5|Only redirecting factory constructors can be declared to be 'const'.
ERROR|SYNTACTIC_ERROR|CONST_FACTORY|lib/core/core.dart|938|3|5|Only redirecting factory constructors can be declared to be 'const'.
ERROR|SYNTACTIC_ERROR|CONST_FACTORY|lib/core/core.dart|971|3|5|Only redirecting factory constructors can be declared to be 'const'.
ERROR|COMPILE_TIME_ERROR|CONST_CONSTRUCTOR_THROWS_EXCEPTION|lib/core/core.dart|3725|5|94|Const constructors can't throw exceptions.
ERROR|COMPILE_TIME_ERROR|CONST_CONSTRUCTOR_THROWS_EXCEPTION|lib/core/core.dart|7913|5|97|Const constructors can't throw exceptions.
ERROR|COMPILE_TIME_ERROR|CONST_CONSTRUCTOR_THROWS_EXCEPTION|lib/core/core.dart|939|5|95|Const constructors can't throw exceptions.
ERROR|COMPILE_TIME_ERROR|CONST_CONSTRUCTOR_THROWS_EXCEPTION|lib/core/core.dart|972|5|94|Const constructors can't throw exceptions.
ERROR|SYNTACTIC_ERROR|CONST_FACTORY|lib/core/core.dart|3723|3|5|Only redirecting factory constructors can be declared to be 'const'.
ERROR|SYNTACTIC_ERROR|CONST_FACTORY|lib/core/core.dart|7911|3|5|Only redirecting factory constructors can be declared to be 'const'.
ERROR|SYNTACTIC_ERROR|CONST_FACTORY|lib/core/core.dart|937|3|5|Only redirecting factory constructors can be declared to be 'const'.
ERROR|SYNTACTIC_ERROR|CONST_FACTORY|lib/core/core.dart|970|3|5|Only redirecting factory constructors can be declared to be 'const'.

View file

@ -77,16 +77,16 @@
* wanted to know about handling errors and exceptions when working with
* Futures (but were afraid to ask).
*
* * [The Event Loop and Dart](https://www.dartlang.org/articles/event-loop/):
* * [The Event Loop and Dart](https://dart.dev/articles/event-loop/):
* Learn how Dart handles the event queue and microtask queue, so you can
* write better asynchronous code with fewer surprises.
*
* * [test package: Asynchronous Tests][test-readme]: How to test asynchronous
* code.
*
* [asynchronous-programming]: https://www.dartlang.org/docs/dart-up-and-running/ch03.html#dartasync---asynchronous-programming
* [futures-tutorial]: https://www.dartlang.org/docs/tutorials/futures/
* [futures-error-handling]: https://www.dartlang.org/articles/futures-and-error-handling/
* [asynchronous-programming]: https://dart.dev/guides/libraries/library-tour#dartasync---asynchronous-programming
* [futures-tutorial]: https://dart.dev/codelabs/async-await
* [futures-error-handling]: https://dart.dev/guides/libraries/futures-error-handling
* [test-readme]: https://pub.dev/packages/test
*
* {@category Core}

View file

@ -128,7 +128,7 @@ void _schedulePriorityAsyncCallback(_AsyncCallback callback) {
*
* ## Other resources
*
* * [The Event Loop and Dart](https://www.dartlang.org/articles/event-loop/):
* * [The Event Loop and Dart](https://dart.dev/articles/event-loop/):
* Learn how Dart handles the event queue and microtask queue, so you can write
* better asynchronous code with fewer surprises.
*/

View file

@ -137,17 +137,16 @@
*
* ## Other documentation
*
* For more information about how to use the built-in types, refer to [Built-in
* Types](http://www.dartlang.org/docs/dart-up-and-running/contents/ch02.html#built-in-types)
* in Chapter 2 of
* [Dart: Up and Running](http://www.dartlang.org/docs/dart-up-and-running/).
* For more information about how to use the built-in types, refer to
* [Built-in Types](https://dart.dev/guides/language/language-tour#built-in-types)
* in
* [A tour of the Dart language](https://dart.dev/guides/language/language-tour).
*
* Also, see [dart:core - Numbers, Collections, Strings, and
* More](https://www.dartlang.org/docs/dart-up-and-running/ch03.html#dartcore---numbers-collections-strings-and-more)
* for more coverage of classes in this package.
* Also, see
* [dart:core - numbers, collections, strings, and more](https://dart.dev/guides/libraries/library-tour#dartcore---numbers-collections-strings-and-more)
* for more coverage of types in this library.
*
* The
* [Dart Language Specification](http://www.dartlang.org/docs/spec/)
* The [Dart Language Specification](https://dart.dev/guides/language/spec)
* provides technical details.
*
* {@category Core}

View file

@ -30,8 +30,8 @@ part of dart.core;
* }
*
* **See also:**
* [Iteration](http://www.dartlang.org/docs/dart-up-and-running/contents/ch03.html#iteration)
* in the [library tour](http://www.dartlang.org/docs/dart-up-and-running/contents/ch03.html)
* [Iteration](https://dart.dev/guides/libraries/library-tour#iteration)
* in the [library tour](https://dart.dev/guides/libraries/library-tour)
*/
abstract class Iterator<E> {
/**

View file

@ -14,9 +14,9 @@ part of dart.core;
* to return a string describing an instance of that class.
* You might also need to define [hashCode] and [operator ==], as described in the
* [Implementing map
* keys](https://www.dartlang.org/docs/dart-up-and-running/ch03.html#implementing-map-keys)
* keys](https://dart.dev/guides/libraries/library-tour#implementing-map-keys)
* section of the [library
* tour](http://www.dartlang.org/docs/dart-up-and-running/contents/ch03.html).
* tour](https://dart.dev/guides/libraries/library-tour).
*/
@pragma("vm:entry-point")
class Object {

View file

@ -93,9 +93,7 @@ part of dart.core;
*
* Also see:
*
* * [Dart Cookbook](https://www.dartlang.org/docs/cookbook/#strings)
* for String examples and recipes.
* * [Dart Up and Running](https://www.dartlang.org/docs/dart-up-and-running/ch03.html#strings-and-regular-expressions)
* * [Strings and regular expressions](https://dart.dev/guides/libraries/library-tour#strings-and-regular-expressions)
*/
@pragma('vm:entry-point')
abstract class String implements Comparable<String>, Pattern {

View file

@ -32,8 +32,8 @@ const String _hexDigits = "0123456789ABCDEF";
* * [URIs][uris] in the [library tour][libtour]
* * [RFC-3986](http://tools.ietf.org/html/rfc3986)
*
* [uris]: https://www.dartlang.org/docs/dart-up-and-running/ch03.html#uris
* [libtour]: https://www.dartlang.org/docs/dart-up-and-running/contents/ch03.html
* [uris]: https://dart.dev/guides/libraries/library-tour#uris
* [libtour]: https://dart.dev/guides/libraries/library-tour
*/
abstract class Uri {
/**

View file

@ -99,15 +99,10 @@ part of dart.io;
*
* ## Other resources
*
* * [Dart by Example](https://www.dartlang.org/dart-by-example/#files-directories-and-symlinks)
* provides additional task-oriented code samples that show how to use
* various API from the Directory class and the related [File] class.
* * The [Files and directories](https://dart.dev/guides/libraries/library-tour#files-and-directories)
* section of the library tour.
*
* * [I/O for Command-Line
* Apps](https://www.dartlang.org/docs/dart-up-and-running/ch03.html#dartio---io-for-command-line-apps)
* a section from _A Tour of the Dart Libraries_ covers files and directories.
*
* * [Write Command-Line Apps](https://www.dartlang.org/docs/tutorials/cmdline/),
* * [Write Command-Line Apps](https://dart.dev/tutorials/server/cmdline),
* a tutorial about writing command-line apps, includes information about
* files and directories.
*/

View file

@ -225,15 +225,10 @@ class FileLock {
*
* ## Other resources
*
* * [Dart by Example](https://www.dartlang.org/dart-by-example/#files-directories-and-symlinks)
* provides additional task-oriented code samples that show how to use
* various API from the Directory class and the related [File] class.
* * The [Files and directories](https://dart.dev/guides/libraries/library-tour#files-and-directories)
* section of the library tour.
*
* * [I/O for Command-Line
* Apps](https://www.dartlang.org/docs/dart-up-and-running/ch03.html#dartio---io-for-command-line-apps)
* a section from _A Tour of the Dart Libraries_ covers files and directories.
*
* * [Write Command-Line Apps](https://www.dartlang.org/docs/tutorials/cmdline/),
* * [Write Command-Line Apps](https://dart.dev/tutorials/server/cmdline),
* a tutorial about writing command-line apps, includes information about
* files and directories.
*/

View file

@ -232,17 +232,10 @@ FileStat: type $type
*
* ## Other resources
*
* * [Dart by
* Example](https://www.dartlang.org/dart-by-example/#files-directories-and-symlinks)
* provides additional task-oriented code samples that show how to use various
* API from the [Directory] class and the [File] class, both subclasses of
* FileSystemEntity.
* * The [Files and directories](https://dart.dev/guides/libraries/library-tour#files-and-directories)
* section of the library tour.
*
* * [I/O for Command-Line
* Apps](https://www.dartlang.org/docs/dart-up-and-running/ch03.html#dartio---io-for-command-line-apps),
* a section from _A Tour of the Dart Libraries_ covers files and directories.
*
* * [Write Command-Line Apps](https://www.dartlang.org/docs/tutorials/cmdline/),
* * [Write Command-Line Apps](https://dart.dev/tutorials/server/cmdline),
* a tutorial about writing command-line apps, includes information about
* files and directories.
*/

View file

@ -21,7 +21,7 @@
* import 'dart:io';
*
* For an introduction to I/O in Dart, see the [dart:io library
* tour](https://www.dartlang.org/dart-vm/io-library-tour).
* tour](https://dart.dev/guides/libraries/library-tour#dartio).
*
* ## File, Directory, and Link
*

View file

@ -58,12 +58,6 @@ part of dart.io;
* print('is not a Mac');
* }
* }
*
* ## Other resources
*
* [Dart by Example](https://www.dartlang.org/dart-by-example/#dart-io-and-command-line-apps)
* provides additional task-oriented code samples that show how to use
* various API from the [dart:io] library.
*/
class Platform {
static final _numberOfProcessors = _Platform.numberOfProcessors;

View file

@ -261,12 +261,6 @@ class ProcessStartMode {
* });
* });
* }
*
* ## Other resources
*
* [Dart by Example](https://www.dartlang.org/dart-by-example/#dart-io-and-command-line-apps)
* provides additional task-oriented code samples that show how to use
* various API from the [dart:io] library.
*/
abstract class Process {
/**