From 4eb1680e378316a928c169d9b30b4e3c87c920b7 Mon Sep 17 00:00:00 2001 From: kevmoo Date: Tue, 30 Jun 2026 12:46:05 -0700 Subject: [PATCH] fix: add missing license headers --- pkgs/bazel_worker/benchmark/benchmark.dart | 4 ++++ pkgs/coverage/lib/src/coverage_options.dart | 4 ++++ pkgs/html/example/main.dart | 4 ++++ pkgs/pubspec_parse/test/git_uri_test.dart | 4 ++++ pkgs/watcher/test/custom_watcher_factory_test.dart | 4 ++++ 5 files changed, 20 insertions(+) diff --git a/pkgs/bazel_worker/benchmark/benchmark.dart b/pkgs/bazel_worker/benchmark/benchmark.dart index 0a03122030..a101013a37 100644 --- a/pkgs/bazel_worker/benchmark/benchmark.dart +++ b/pkgs/bazel_worker/benchmark/benchmark.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + import 'dart:math'; import 'dart:typed_data'; diff --git a/pkgs/coverage/lib/src/coverage_options.dart b/pkgs/coverage/lib/src/coverage_options.dart index 87790dfc62..2c99015a76 100644 --- a/pkgs/coverage/lib/src/coverage_options.dart +++ b/pkgs/coverage/lib/src/coverage_options.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + import 'dart:io'; import 'package:cli_config/cli_config.dart'; import 'package:path/path.dart' as path; diff --git a/pkgs/html/example/main.dart b/pkgs/html/example/main.dart index 309ed7c615..5957b99c0f 100644 --- a/pkgs/html/example/main.dart +++ b/pkgs/html/example/main.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + import 'package:html/dom.dart'; import 'package:html/dom_parsing.dart'; import 'package:html/parser.dart'; diff --git a/pkgs/pubspec_parse/test/git_uri_test.dart b/pkgs/pubspec_parse/test/git_uri_test.dart index be89ba8a0e..6a2c19e7e1 100644 --- a/pkgs/pubspec_parse/test/git_uri_test.dart +++ b/pkgs/pubspec_parse/test/git_uri_test.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + import 'package:pubspec_parse/src/dependency.dart'; import 'package:test/test.dart'; diff --git a/pkgs/watcher/test/custom_watcher_factory_test.dart b/pkgs/watcher/test/custom_watcher_factory_test.dart index 99d35371bb..a8110b5762 100644 --- a/pkgs/watcher/test/custom_watcher_factory_test.dart +++ b/pkgs/watcher/test/custom_watcher_factory_test.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + import 'dart:async'; import 'package:test/test.dart';