From 686fdf5812a56dd9b9580728465b3fd46aeacf54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ilkka=20Sepp=C3=A4l=C3=A4?= Date: Sat, 8 Jan 2022 21:37:15 +0200 Subject: [PATCH] fix checkstyle errors --- .../src/main/java/com/iluwatar/execute/around/App.java | 4 ++-- .../java/com/iluwatar/execute/around/SimpleFileWriter.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/execute-around/src/main/java/com/iluwatar/execute/around/App.java b/execute-around/src/main/java/com/iluwatar/execute/around/App.java index 6aa4caf9e..88eb11591 100644 --- a/execute-around/src/main/java/com/iluwatar/execute/around/App.java +++ b/execute-around/src/main/java/com/iluwatar/execute/around/App.java @@ -23,12 +23,12 @@ package com.iluwatar.execute.around; -import lombok.extern.slf4j.Slf4j; - import java.io.File; import java.io.IOException; import java.util.Scanner; +import lombok.extern.slf4j.Slf4j; + /** * The Execute Around idiom specifies executable code before and after a method. Typically * the idiom is used when the API has methods to be executed in pairs, such as resource diff --git a/execute-around/src/main/java/com/iluwatar/execute/around/SimpleFileWriter.java b/execute-around/src/main/java/com/iluwatar/execute/around/SimpleFileWriter.java index e6a66fbd9..0a427b81a 100644 --- a/execute-around/src/main/java/com/iluwatar/execute/around/SimpleFileWriter.java +++ b/execute-around/src/main/java/com/iluwatar/execute/around/SimpleFileWriter.java @@ -23,11 +23,11 @@ package com.iluwatar.execute.around; -import lombok.extern.slf4j.Slf4j; - import java.io.FileWriter; import java.io.IOException; +import lombok.extern.slf4j.Slf4j; + /** * SimpleFileWriter handles opening and closing file for the user. The user only has to specify what * to do with the file resource through {@link FileWriterAction} parameter.