From 416d5dcaf1cfb88780db51851bdc17024eb2dfee Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Sat, 16 Jan 2021 22:59:37 -0500 Subject: [PATCH] two ignored exceptions --- core/src/processing/core/PApplet.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index ef8abeb03..0023e2ce2 100644 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -3416,7 +3416,7 @@ public class PApplet implements PConstants { //if (napTime > 0) { try { Thread.sleep(napTime); - } catch (InterruptedException e) { } + } catch (InterruptedException ignored) { } //} //} } @@ -3533,7 +3533,7 @@ public class PApplet implements PConstants { /*int result =*/ p.waitFor(); // Not installed will throw an IOException (JDK 1.4.2, Ubuntu 7.04) openLauncher = launcher; - } catch (Exception e) { } + } catch (Exception ignored) { } } if (openLauncher == null) { System.err.println("Could not find xdg-open, gnome-open, or kde-open: " +