From 21439c3e0b7c7396ad859149bcbf2197ac6334e1 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 8 Oct 2020 16:46:05 +0300 Subject: Apply some IDEA suggestions --- src/main/java/com/juick/service/ImagesServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/com/juick/service/ImagesServiceImpl.java') diff --git a/src/main/java/com/juick/service/ImagesServiceImpl.java b/src/main/java/com/juick/service/ImagesServiceImpl.java index 4bdcd7d6..72d5b97c 100644 --- a/src/main/java/com/juick/service/ImagesServiceImpl.java +++ b/src/main/java/com/juick/service/ImagesServiceImpl.java @@ -28,8 +28,8 @@ import java.io.IOException; import java.nio.file.Paths; public class ImagesServiceImpl implements ImagesService { - private ImageUtils imageUtils; - private String imgDir; + private final ImageUtils imageUtils; + private final String imgDir; public ImagesServiceImpl(String imgDir, String tmpDir) { this.imgDir = imgDir; -- cgit v1.2.3