Skip to content

Commit 28a3ee0

Browse files
committed
codacy suggestions
Signed-off-by: Alfredo Gutierrez Grajeda <alfredo@hashgraph.com>
1 parent 8d70571 commit 28a3ee0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

block-node/s3-archive/src/test/java/org/hiero/block/node/archive/s3/S3ArchivePluginTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,13 @@ class S3ArchivePluginTest extends PluginTestBase<S3ArchivePlugin, ExecutorServic
7272
private final MinioClient minioClient;
7373

7474
/** The custom log handler used to capture log messages. */
75-
private TestLogHandler logHandler;
76-
private Logger logger;
75+
private final TestLogHandler logHandler;
7776

7877
@SuppressWarnings("resource")
7978
public S3ArchivePluginTest() throws GeneralSecurityException, IOException, MinioException {
8079
super(Executors.newSingleThreadExecutor(), Executors.newSingleThreadScheduledExecutor());
8180
// set-up logger
82-
logger = java.util.logging.Logger.getLogger(S3ArchivePlugin.class.getName());
81+
Logger logger = Logger.getLogger(S3ArchivePlugin.class.getName());
8382
System.out.println("logger = " + logger);
8483
logHandler = new TestLogHandler();
8584
logger.addHandler(logHandler);

0 commit comments

Comments
 (0)