From 28d39ce844e015ad1f07c706d4140f0d1ad56a93 Mon Sep 17 00:00:00 2001 From: Rohit-kumar-raja <72311596+Rohit-kumar-raja@users.noreply.github.com> Date: Sat, 17 Oct 2020 08:15:44 +0530 Subject: [PATCH] Update File2Hex.java why u are import all the classes of fileinputstream --- File2Hex.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/File2Hex.java b/File2Hex.java index c01ba13..fa0eceb 100644 --- a/File2Hex.java +++ b/File2Hex.java @@ -1,5 +1,7 @@ package fileAnalyzer; -import java.io.*; +import java.io.Inputstream; +import java.io.FileInputStream; //why u are import all the classes of fileinputstream + public class File2Hex { @@ -24,4 +26,4 @@ public static void main(String[] args) throws IOException StringBuilder hexStore = convertToHex(new File("/home/king/Pictures/2nd.png")); System.out.println(hexStore); } -} \ No newline at end of file +}