From 155e5f12a8a4ece1a7126fd8600feef7b2d80d87 Mon Sep 17 00:00:00 2001 From: Sergey Penkovsky Date: Fri, 16 May 2025 13:10:57 +0300 Subject: [PATCH] fix: fix warnings --- cherrypick/lib/cherrypick.dart | 26 +++++++++++++------------- cherrypick/lib/src/binding.dart | 24 ++++++++++++------------ cherrypick/lib/src/factory.dart | 24 ++++++++++++------------ cherrypick/lib/src/helper.dart | 24 ++++++++++++------------ cherrypick/lib/src/module.dart | 24 ++++++++++++------------ cherrypick/lib/src/scope.dart | 24 ++++++++++++------------ 6 files changed, 73 insertions(+), 73 deletions(-) diff --git a/cherrypick/lib/cherrypick.dart b/cherrypick/lib/cherrypick.dart index 84806d5..dbd675a 100644 --- a/cherrypick/lib/cherrypick.dart +++ b/cherrypick/lib/cherrypick.dart @@ -1,18 +1,18 @@ -/// -/// Copyright 2021 Sergey Penkovsky (sergey.penkovsky@gmail.com) -/// 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 cherrypick; +// +// Copyright 2021 Sergey Penkovsky (sergey.penkovsky@gmail.com) +// 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. +// + export 'package:cherrypick/src/binding.dart'; export 'package:cherrypick/src/helper.dart'; export 'package:cherrypick/src/module.dart'; diff --git a/cherrypick/lib/src/binding.dart b/cherrypick/lib/src/binding.dart index 15f968f..d2f27c0 100644 --- a/cherrypick/lib/src/binding.dart +++ b/cherrypick/lib/src/binding.dart @@ -1,15 +1,15 @@ -/// -/// Copyright 2021 Sergey Penkovsky (sergey.penkovsky@gmail.com) -/// 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. -/// +// +// Copyright 2021 Sergey Penkovsky (sergey.penkovsky@gmail.com) +// 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. +// enum Mode { simple, instance, providerInstance, providerInstanceWithParams } diff --git a/cherrypick/lib/src/factory.dart b/cherrypick/lib/src/factory.dart index 25a93d7..9f681f5 100644 --- a/cherrypick/lib/src/factory.dart +++ b/cherrypick/lib/src/factory.dart @@ -1,15 +1,15 @@ -/// -/// Copyright 2021 Sergey Penkovsky (sergey.penkovsky@gmail.com) -/// 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. -/// +// +// Copyright 2021 Sergey Penkovsky (sergey.penkovsky@gmail.com) +// 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. +// import 'package:cherrypick/src/scope.dart'; abstract class Factory { diff --git a/cherrypick/lib/src/helper.dart b/cherrypick/lib/src/helper.dart index 94fc564..50e4266 100644 --- a/cherrypick/lib/src/helper.dart +++ b/cherrypick/lib/src/helper.dart @@ -1,15 +1,15 @@ -/// -/// Copyright 2021 Sergey Penkovsky (sergey.penkovsky@gmail.com) -/// 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. -/// +// +// Copyright 2021 Sergey Penkovsky (sergey.penkovsky@gmail.com) +// 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. +// import 'package:cherrypick/src/scope.dart'; import 'package:meta/meta.dart'; diff --git a/cherrypick/lib/src/module.dart b/cherrypick/lib/src/module.dart index c253c0d..1b00371 100644 --- a/cherrypick/lib/src/module.dart +++ b/cherrypick/lib/src/module.dart @@ -1,15 +1,15 @@ -/// -/// Copyright 2021 Sergey Penkovsky (sergey.penkovsky@gmail.com) -/// 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. -/// +// +// Copyright 2021 Sergey Penkovsky (sergey.penkovsky@gmail.com) +// 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. +// import 'dart:collection'; import 'package:cherrypick/src/binding.dart'; diff --git a/cherrypick/lib/src/scope.dart b/cherrypick/lib/src/scope.dart index c34b926..3f7bdc6 100644 --- a/cherrypick/lib/src/scope.dart +++ b/cherrypick/lib/src/scope.dart @@ -1,15 +1,15 @@ -/// -/// Copyright 2021 Sergey Penkovsky (sergey.penkovsky@gmail.com) -/// 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. -/// +// +// Copyright 2021 Sergey Penkovsky (sergey.penkovsky@gmail.com) +// 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. +// import 'dart:collection'; import 'package:cherrypick/src/binding.dart';