From a01ff21866d4f21c7ab6b663d59546abe3b6079d Mon Sep 17 00:00:00 2001 From: evanweible-wf Date: Tue, 18 Aug 2015 16:10:07 -0500 Subject: [PATCH 1/2] dartfmt --- bin/dart_dev.dart | 6 +++--- lib/api.dart | 6 +++--- lib/dart_dev.dart | 6 +++--- lib/src/dart_dev_cli.dart | 6 +++--- lib/src/reporter.dart | 6 +++--- lib/src/task_process.dart | 6 +++--- lib/src/tasks/analyze/api.dart | 6 +++--- lib/src/tasks/analyze/cli.dart | 6 +++--- lib/src/tasks/analyze/config.dart | 6 +++--- lib/src/tasks/cli.dart | 6 +++--- lib/src/tasks/config.dart | 6 +++--- lib/src/tasks/copy_license/api.dart | 6 +++--- lib/src/tasks/copy_license/cli.dart | 6 +++--- lib/src/tasks/copy_license/config.dart | 6 +++--- lib/src/tasks/examples/api.dart | 6 +++--- lib/src/tasks/examples/cli.dart | 6 +++--- lib/src/tasks/examples/config.dart | 6 +++--- lib/src/tasks/format/api.dart | 6 +++--- lib/src/tasks/format/cli.dart | 6 +++--- lib/src/tasks/format/config.dart | 6 +++--- lib/src/tasks/init/api.dart | 6 +++--- lib/src/tasks/init/cli.dart | 6 +++--- lib/src/tasks/init/config.dart | 6 +++--- lib/src/tasks/task.dart | 6 +++--- lib/src/tasks/test/api.dart | 6 +++--- lib/src/tasks/test/cli.dart | 6 +++--- lib/src/tasks/test/config.dart | 6 +++--- lib/src/util.dart | 6 +++--- lib/src/version.dart | 6 +++--- lib/util.dart | 6 +++--- test/integration/analyze_test.dart | 6 +++--- test/integration/copy_license_test.dart | 6 +++--- test/integration/examples_test.dart | 6 +++--- test/integration/format_test.dart | 6 +++--- test/integration/init_test.dart | 6 +++--- test/integration/test_test.dart | 6 +++--- tool/dev.dart | 6 +++--- 37 files changed, 111 insertions(+), 111 deletions(-) diff --git a/bin/dart_dev.dart b/bin/dart_dev.dart index f6ec12ce..bb137cc6 100644 --- a/bin/dart_dev.dart +++ b/bin/dart_dev.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/api.dart b/lib/api.dart index 3b66541c..eec3d667 100644 --- a/lib/api.dart +++ b/lib/api.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/dart_dev.dart b/lib/dart_dev.dart index da58f76e..cce9a344 100644 --- a/lib/dart_dev.dart +++ b/lib/dart_dev.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/dart_dev_cli.dart b/lib/src/dart_dev_cli.dart index 94257bf7..c13994b8 100644 --- a/lib/src/dart_dev_cli.dart +++ b/lib/src/dart_dev_cli.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/reporter.dart b/lib/src/reporter.dart index 72309afb..6df9e12d 100644 --- a/lib/src/reporter.dart +++ b/lib/src/reporter.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/task_process.dart b/lib/src/task_process.dart index 6e83befc..4adfd0ff 100644 --- a/lib/src/task_process.dart +++ b/lib/src/task_process.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/tasks/analyze/api.dart b/lib/src/tasks/analyze/api.dart index 11ce9ace..0164fd35 100644 --- a/lib/src/tasks/analyze/api.dart +++ b/lib/src/tasks/analyze/api.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/tasks/analyze/cli.dart b/lib/src/tasks/analyze/cli.dart index 6e0e9960..fa52e577 100644 --- a/lib/src/tasks/analyze/cli.dart +++ b/lib/src/tasks/analyze/cli.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/tasks/analyze/config.dart b/lib/src/tasks/analyze/config.dart index e732aa14..21de5ad1 100644 --- a/lib/src/tasks/analyze/config.dart +++ b/lib/src/tasks/analyze/config.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/tasks/cli.dart b/lib/src/tasks/cli.dart index 2c6570b7..3eca5131 100644 --- a/lib/src/tasks/cli.dart +++ b/lib/src/tasks/cli.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/tasks/config.dart b/lib/src/tasks/config.dart index 51abacfa..5e4eef27 100644 --- a/lib/src/tasks/config.dart +++ b/lib/src/tasks/config.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/tasks/copy_license/api.dart b/lib/src/tasks/copy_license/api.dart index 3b24093e..d2552bc1 100644 --- a/lib/src/tasks/copy_license/api.dart +++ b/lib/src/tasks/copy_license/api.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/tasks/copy_license/cli.dart b/lib/src/tasks/copy_license/cli.dart index 1c6d0db1..bec28455 100644 --- a/lib/src/tasks/copy_license/cli.dart +++ b/lib/src/tasks/copy_license/cli.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/tasks/copy_license/config.dart b/lib/src/tasks/copy_license/config.dart index 5e778ae3..4a485901 100644 --- a/lib/src/tasks/copy_license/config.dart +++ b/lib/src/tasks/copy_license/config.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/tasks/examples/api.dart b/lib/src/tasks/examples/api.dart index db0d63da..3d7933a9 100644 --- a/lib/src/tasks/examples/api.dart +++ b/lib/src/tasks/examples/api.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/tasks/examples/cli.dart b/lib/src/tasks/examples/cli.dart index bd2cb434..60c48f07 100644 --- a/lib/src/tasks/examples/cli.dart +++ b/lib/src/tasks/examples/cli.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/tasks/examples/config.dart b/lib/src/tasks/examples/config.dart index db7ae74c..5fa0ae3f 100644 --- a/lib/src/tasks/examples/config.dart +++ b/lib/src/tasks/examples/config.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/tasks/format/api.dart b/lib/src/tasks/format/api.dart index 0d29f1e0..94ab0d32 100644 --- a/lib/src/tasks/format/api.dart +++ b/lib/src/tasks/format/api.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/tasks/format/cli.dart b/lib/src/tasks/format/cli.dart index fea01833..06c1d3ae 100644 --- a/lib/src/tasks/format/cli.dart +++ b/lib/src/tasks/format/cli.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/tasks/format/config.dart b/lib/src/tasks/format/config.dart index d18e6795..42e6bd68 100644 --- a/lib/src/tasks/format/config.dart +++ b/lib/src/tasks/format/config.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/tasks/init/api.dart b/lib/src/tasks/init/api.dart index 0d33dd24..a6ce83a0 100644 --- a/lib/src/tasks/init/api.dart +++ b/lib/src/tasks/init/api.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/tasks/init/cli.dart b/lib/src/tasks/init/cli.dart index da296cff..e1faeccd 100644 --- a/lib/src/tasks/init/cli.dart +++ b/lib/src/tasks/init/cli.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/tasks/init/config.dart b/lib/src/tasks/init/config.dart index af1d5b05..30a8a2a7 100644 --- a/lib/src/tasks/init/config.dart +++ b/lib/src/tasks/init/config.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/tasks/task.dart b/lib/src/tasks/task.dart index 7c14a258..b28b71ab 100644 --- a/lib/src/tasks/task.dart +++ b/lib/src/tasks/task.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/tasks/test/api.dart b/lib/src/tasks/test/api.dart index 94fc51da..2687b87b 100644 --- a/lib/src/tasks/test/api.dart +++ b/lib/src/tasks/test/api.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/tasks/test/cli.dart b/lib/src/tasks/test/cli.dart index 9a3a2b39..37bc45cc 100644 --- a/lib/src/tasks/test/cli.dart +++ b/lib/src/tasks/test/cli.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/tasks/test/config.dart b/lib/src/tasks/test/config.dart index 9e159eb9..d94838f2 100644 --- a/lib/src/tasks/test/config.dart +++ b/lib/src/tasks/test/config.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/util.dart b/lib/src/util.dart index a91336a0..6073d3e9 100644 --- a/lib/src/util.dart +++ b/lib/src/util.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/src/version.dart b/lib/src/version.dart index 960bc8d3..6d5d8dfa 100644 --- a/lib/src/version.dart +++ b/lib/src/version.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/lib/util.dart b/lib/util.dart index aad98634..ad4f6f9c 100644 --- a/lib/util.dart +++ b/lib/util.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/test/integration/analyze_test.dart b/test/integration/analyze_test.dart index f50fc98e..81baebe5 100644 --- a/test/integration/analyze_test.dart +++ b/test/integration/analyze_test.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/test/integration/copy_license_test.dart b/test/integration/copy_license_test.dart index d3203bfd..84b81707 100644 --- a/test/integration/copy_license_test.dart +++ b/test/integration/copy_license_test.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/test/integration/examples_test.dart b/test/integration/examples_test.dart index 7df6c3f9..1e8a3823 100644 --- a/test/integration/examples_test.dart +++ b/test/integration/examples_test.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/test/integration/format_test.dart b/test/integration/format_test.dart index 167c931b..4cdb34a6 100644 --- a/test/integration/format_test.dart +++ b/test/integration/format_test.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/test/integration/init_test.dart b/test/integration/init_test.dart index 19b9450b..282dc69b 100644 --- a/test/integration/init_test.dart +++ b/test/integration/init_test.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/test/integration/test_test.dart b/test/integration/test_test.dart index c88a1f2b..6cc5b219 100644 --- a/test/integration/test_test.dart +++ b/test/integration/test_test.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/tool/dev.dart b/tool/dev.dart index 8f9eacba..a6c6b48e 100644 --- a/tool/dev.dart +++ b/tool/dev.dart @@ -1,11 +1,11 @@ // Copyright 2015 Workiva Inc. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. From cbd193f1c10ba57616deb777dfdc1c687f1e7d5f Mon Sep 17 00:00:00 2001 From: evanweible-wf Date: Tue, 18 Aug 2015 16:38:40 -0500 Subject: [PATCH 2/2] Trim generated license headers, add missing license headers. --- lib/src/tasks/copy_license/api.dart | 3 ++- lib/src/tasks/coverage/api.dart | 14 ++++++++++++++ lib/src/tasks/coverage/cli.dart | 14 ++++++++++++++ lib/src/tasks/coverage/config.dart | 14 ++++++++++++++ test/integration/coverage_test.dart | 14 ++++++++++++++ 5 files changed, 58 insertions(+), 1 deletion(-) diff --git a/lib/src/tasks/copy_license/api.dart b/lib/src/tasks/copy_license/api.dart index d2552bc1..cb48d840 100644 --- a/lib/src/tasks/copy_license/api.dart +++ b/lib/src/tasks/copy_license/api.dart @@ -95,7 +95,8 @@ String licenseForFileType(File file, String license) { throw new ArgumentError('Unsupported file type: ${file.path}'); } - String l = license.split('\n').map((l) => '$linePrefix$l').join('\n'); + String l = + license.split('\n').map((l) => '$linePrefix$l'.trimRight()).join('\n'); return '$opening$l$closing\n'; } diff --git a/lib/src/tasks/coverage/api.dart b/lib/src/tasks/coverage/api.dart index 3e6129e2..5443c14f 100644 --- a/lib/src/tasks/coverage/api.dart +++ b/lib/src/tasks/coverage/api.dart @@ -1,3 +1,17 @@ +// Copyright 2015 Workiva Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + library dart_dev.src.tasks.coverage.api; import 'dart:async'; diff --git a/lib/src/tasks/coverage/cli.dart b/lib/src/tasks/coverage/cli.dart index 9b0c413b..c9a22f4e 100644 --- a/lib/src/tasks/coverage/cli.dart +++ b/lib/src/tasks/coverage/cli.dart @@ -1,3 +1,17 @@ +// Copyright 2015 Workiva Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + library dart_dev.src.tasks.coverage.cli; import 'dart:async'; diff --git a/lib/src/tasks/coverage/config.dart b/lib/src/tasks/coverage/config.dart index 37230a7d..5b882f76 100644 --- a/lib/src/tasks/coverage/config.dart +++ b/lib/src/tasks/coverage/config.dart @@ -1,3 +1,17 @@ +// Copyright 2015 Workiva Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + library dart_dev.src.tasks.coverage.config; import 'package:dart_dev/src/tasks/config.dart'; diff --git a/test/integration/coverage_test.dart b/test/integration/coverage_test.dart index ecf3628a..cdd6ede6 100644 --- a/test/integration/coverage_test.dart +++ b/test/integration/coverage_test.dart @@ -1,3 +1,17 @@ +// Copyright 2015 Workiva Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + @TestOn('vm') library dart_dev.test.integration.coverage_test;