From 89e64cc8743e0a290693268a27724df67d158670 Mon Sep 17 00:00:00 2001 From: Sydney Jodon Date: Thu, 21 Mar 2024 09:22:15 -0700 Subject: [PATCH] Remove log --- .../null_safety_prep/callback_ref_hint_suggestor.dart | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/src/dart3_suggestors/null_safety_prep/callback_ref_hint_suggestor.dart b/lib/src/dart3_suggestors/null_safety_prep/callback_ref_hint_suggestor.dart index fc7a093a..924b47b4 100644 --- a/lib/src/dart3_suggestors/null_safety_prep/callback_ref_hint_suggestor.dart +++ b/lib/src/dart3_suggestors/null_safety_prep/callback_ref_hint_suggestor.dart @@ -18,7 +18,6 @@ import 'package:analyzer/dart/analysis/results.dart'; import 'package:analyzer/dart/element/element.dart'; import 'package:collection/collection.dart'; -import 'package:logging/logging.dart'; import 'package:over_react_codemod/src/util/component_usage.dart'; import 'package:analyzer/dart/ast/ast.dart'; import 'package:analyzer/dart/ast/visitor.dart'; @@ -27,8 +26,6 @@ import '../../util.dart'; import '../../util/class_suggestor.dart'; import 'analyzer_plugin_utils.dart'; -final _log = Logger('CallbackRefHintSuggestor'); - /// Suggestor to add nullability hints to ref types. /// /// (1) For ref prop param types: @@ -137,8 +134,6 @@ class CallbackRefHintSuggestor extends RecursiveAstVisitor @override Future generatePatches() async { - _log.info('Resolving ${context.relativePath}...'); - final r = await context.getResolvedUnit(); if (r == null) { throw Exception(