fix: fix warnings

This commit is contained in:
Sergey Penkovsky
2025-05-16 13:10:57 +03:00
parent c5d17e372c
commit 155e5f12a8
6 changed files with 73 additions and 73 deletions

View File

@@ -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; 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/binding.dart';
export 'package:cherrypick/src/helper.dart'; export 'package:cherrypick/src/helper.dart';
export 'package:cherrypick/src/module.dart'; export 'package:cherrypick/src/module.dart';

View File

@@ -1,15 +1,15 @@
/// //
/// Copyright 2021 Sergey Penkovsky (sergey.penkovsky@gmail.com) // Copyright 2021 Sergey Penkovsky (sergey.penkovsky@gmail.com)
/// Licensed under the Apache License, Version 2.0 (the "License"); // Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License. // you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at // You may obtain a copy of the License at
/// http://www.apache.org/licenses/LICENSE-2.0 // http://www.apache.org/licenses/LICENSE-2.0
/// Unless required by applicable law or agreed to in writing, software // Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS, // distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
/// limitations under the License. // limitations under the License.
/// //
enum Mode { simple, instance, providerInstance, providerInstanceWithParams } enum Mode { simple, instance, providerInstance, providerInstanceWithParams }

View File

@@ -1,15 +1,15 @@
/// //
/// Copyright 2021 Sergey Penkovsky (sergey.penkovsky@gmail.com) // Copyright 2021 Sergey Penkovsky (sergey.penkovsky@gmail.com)
/// Licensed under the Apache License, Version 2.0 (the "License"); // Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License. // you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at // You may obtain a copy of the License at
/// http://www.apache.org/licenses/LICENSE-2.0 // http://www.apache.org/licenses/LICENSE-2.0
/// Unless required by applicable law or agreed to in writing, software // Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS, // distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
/// limitations under the License. // limitations under the License.
/// //
import 'package:cherrypick/src/scope.dart'; import 'package:cherrypick/src/scope.dart';
abstract class Factory<T> { abstract class Factory<T> {

View File

@@ -1,15 +1,15 @@
/// //
/// Copyright 2021 Sergey Penkovsky (sergey.penkovsky@gmail.com) // Copyright 2021 Sergey Penkovsky (sergey.penkovsky@gmail.com)
/// Licensed under the Apache License, Version 2.0 (the "License"); // Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License. // you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at // You may obtain a copy of the License at
/// http://www.apache.org/licenses/LICENSE-2.0 // http://www.apache.org/licenses/LICENSE-2.0
/// Unless required by applicable law or agreed to in writing, software // Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS, // distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
/// limitations under the License. // limitations under the License.
/// //
import 'package:cherrypick/src/scope.dart'; import 'package:cherrypick/src/scope.dart';
import 'package:meta/meta.dart'; import 'package:meta/meta.dart';

View File

@@ -1,15 +1,15 @@
/// //
/// Copyright 2021 Sergey Penkovsky (sergey.penkovsky@gmail.com) // Copyright 2021 Sergey Penkovsky (sergey.penkovsky@gmail.com)
/// Licensed under the Apache License, Version 2.0 (the "License"); // Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License. // you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at // You may obtain a copy of the License at
/// http://www.apache.org/licenses/LICENSE-2.0 // http://www.apache.org/licenses/LICENSE-2.0
/// Unless required by applicable law or agreed to in writing, software // Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS, // distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
/// limitations under the License. // limitations under the License.
/// //
import 'dart:collection'; import 'dart:collection';
import 'package:cherrypick/src/binding.dart'; import 'package:cherrypick/src/binding.dart';

View File

@@ -1,15 +1,15 @@
/// //
/// Copyright 2021 Sergey Penkovsky (sergey.penkovsky@gmail.com) // Copyright 2021 Sergey Penkovsky (sergey.penkovsky@gmail.com)
/// Licensed under the Apache License, Version 2.0 (the "License"); // Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License. // you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at // You may obtain a copy of the License at
/// http://www.apache.org/licenses/LICENSE-2.0 // http://www.apache.org/licenses/LICENSE-2.0
/// Unless required by applicable law or agreed to in writing, software // Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS, // distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
/// limitations under the License. // limitations under the License.
/// //
import 'dart:collection'; import 'dart:collection';
import 'package:cherrypick/src/binding.dart'; import 'package:cherrypick/src/binding.dart';