Skip to content

Commit ca48954

Browse files
authored
Merge pull request #1202 from dart-lang/organize_imports
organize imports
2 parents de0f2b1 + a960dec commit ca48954

File tree

10 files changed

+28
-13
lines changed

10 files changed

+28
-13
lines changed

bin/dartdoc.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ library dartdoc.bin;
66

77
import 'dart:io';
88

9+
import 'package:analyzer/src/generated/java_io.dart';
10+
import 'package:analyzer/src/generated/sdk.dart';
11+
import 'package:analyzer/src/generated/sdk_io.dart';
912
import 'package:args/args.dart';
1013
import 'package:cli_util/cli_util.dart' as cli_util;
1114
import 'package:dartdoc/dartdoc.dart';
1215
import 'package:path/path.dart' as path;
1316
import 'package:stack_trace/stack_trace.dart';
14-
import 'package:analyzer/src/generated/sdk.dart';
15-
import 'package:analyzer/src/generated/sdk_io.dart';
16-
import 'package:analyzer/src/generated/java_io.dart';
1717

1818
/// Analyzes Dart files and generates a representation of included libraries,
1919
/// classes, and members. Uses the current directory to look for libraries.

lib/dartdoc.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ import 'package:analyzer/src/generated/source.dart';
2525
import 'package:analyzer/src/generated/source_io.dart';
2626
import 'package:path/path.dart' as p;
2727

28+
import 'src/config.dart';
2829
import 'src/generator.dart';
2930
import 'src/html/html_generator.dart';
3031
import 'src/io_utils.dart';
3132
import 'src/model.dart';
3233
import 'src/model_utils.dart';
3334
import 'src/package_meta.dart';
3435

35-
import 'src/config.dart';
3636
export 'src/element_type.dart';
3737
export 'src/generator.dart';
3838
export 'src/model.dart';

lib/src/config.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
library dartdoc.config;
26

37
import 'dart:io';

lib/src/debug.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
library debugger_helper;
26

37
import "dart:developer" as dev;

lib/src/html/templates.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
library dartdoc.templates;
26

37
import 'dart:async' show Future;

lib/src/line_number_cache.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
library dartdoc.cache;
26

37
import 'dart:collection';

lib/src/markdown_processor.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2-
32
// for details. All rights reserved. Use of this source code is governed by a
43
// BSD-style license that can be found in the LICENSE file.
54

test/model_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import 'package:dartdoc/dartdoc.dart';
1111
import 'package:dartdoc/src/model.dart';
1212
import 'package:dartdoc/src/model_utils.dart';
1313
import 'package:dartdoc/src/package_meta.dart';
14-
import 'package:test/test.dart';
1514
import 'package:path/path.dart' as p;
15+
import 'package:test/test.dart';
1616

1717
import 'src/utils.dart' as utils;
1818

tool/grind.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// Copyright (c) 2015, Google Inc. Please see the AUTHORS file for details.
2-
// All rights reserved. Use of this source code is governed by a BSD-style
3-
// license that can be found in the LICENSE file.
1+
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
44

55
import 'dart:async' show Future;
66
import 'dart:io' hide ProcessException;

tool/travis.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22

3-
# Copyright (c) 2014, Google Inc. Please see the AUTHORS file for details.
4-
# All rights reserved. Use of this source code is governed by a BSD-style
5-
# license that can be found in the LICENSE file.
3+
# Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
4+
# for details. All rights reserved. Use of this source code is governed by a
5+
# BSD-style license that can be found in the LICENSE file.
66

77
# Fast fail the script on failures.
88
set -e
@@ -16,7 +16,7 @@ export PATH="$PATH":"~/.pub-cache/bin"
1616

1717
if [ "$GEN_SDK_DOCS" = "true" ]
1818
then
19-
# Build the SDK docs
19+
# Build the SDK docs
2020
# silence stdout but echo stderr
2121
echo ""
2222
echo "Building and validating SDK docs..."

0 commit comments

Comments
 (0)