Merge pull request #4036 from pq/comment_refs
Cleanup dangling comment references.
This commit is contained in:
@@ -42,7 +42,7 @@ import 'src/runner/flutter_command_runner.dart';
|
||||
|
||||
/// Main entry point for commands.
|
||||
///
|
||||
/// This function is intended to be used from the [flutter] command line tool.
|
||||
/// This function is intended to be used from the `flutter` command line tool.
|
||||
Future<Null> main(List<String> args) async {
|
||||
bool help = args.contains('-h') || args.contains('--help');
|
||||
bool verbose = args.contains('-v') || args.contains('--verbose');
|
||||
|
||||
@@ -247,7 +247,7 @@ class DebuggingOptions {
|
||||
bool get hasObservatoryPort => observatoryPort != null;
|
||||
|
||||
/// Return the user specified observatory port. If that isn't available,
|
||||
/// return [defaultObservatoryPort], or a port close to that one.
|
||||
/// return [kDefaultObservatoryPort], or a port close to that one.
|
||||
Future<int> findBestObservatoryPort() {
|
||||
if (hasObservatoryPort)
|
||||
return new Future<int>.value(observatoryPort);
|
||||
@@ -257,7 +257,7 @@ class DebuggingOptions {
|
||||
bool get hasDiagnosticPort => diagnosticPort != null;
|
||||
|
||||
/// Return the user specified diagnostic port. If that isn't available,
|
||||
/// return [defaultObservatoryPort], or a port close to that one.
|
||||
/// return [kDefaultDiagnosticPort], or a port close to that one.
|
||||
Future<int> findBestDiagnosticPort() {
|
||||
return findPreferredPort(diagnosticPort ?? kDefaultDiagnosticPort);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user