From 3f82346e1b5335dcac4ba9d969d0046685dec1d9 Mon Sep 17 00:00:00 2001 From: nitram509 Date: Wed, 6 Mar 2019 08:31:08 +0100 Subject: [PATCH 1/2] ignore Eclipse and IntelliJ project files --- .gitignore | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ce11cad --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +target +local + + .classpath +.project +.settings + + .idea +*.iml \ No newline at end of file From 8b02b83248323058030d07bc1b69db832daac9d6 Mon Sep 17 00:00:00 2001 From: nitram509 Date: Wed, 6 Mar 2019 08:34:01 +0100 Subject: [PATCH 2/2] =?UTF-8?q?remove=20throws=20declaration,=20because=20?= =?UTF-8?q?static=20code=20analysis=20reports:=20"Exception=20'java.io.IOE?= =?UTF-8?q?xception'=20is=20never=20thrown=20in=20the=20method.=20(?= =?UTF-8?q?=E2=8C=98F1)=20=20Inspection=20info:=20Reports=20exceptions=20t?= =?UTF-8?q?hat=20are=20declared=20in=20a=20method's=20signature=20but=20ne?= =?UTF-8?q?ver=20thrown=20by=20the=20method=20itself=20or=20its=20implemen?= =?UTF-8?q?tations/derivatives"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit So it's 100% safe to remove ;) --- src/deviation/filesystem/FlashIO.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deviation/filesystem/FlashIO.java b/src/deviation/filesystem/FlashIO.java index 87bfa2f..3164578 100644 --- a/src/deviation/filesystem/FlashIO.java +++ b/src/deviation/filesystem/FlashIO.java @@ -112,7 +112,7 @@ private void dump(String name, byte data[]) { } } */ - private void cache(int sector_num) throws IOException { + private void cache(int sector_num) { Range range = sectorMap.get(sector_num); System.out.format(("Cache of 0x%08x : %d%n"), range.start(), cached[sector_num] ? 1 : 0); if (! cached[sector_num]) {