Author: tilman
Date: Sat Mar 28 16:53:08 2026
New Revision: 1932645

Log:
PDFBOX-5660: remove double try catch

Modified:
   
pdfbox/branches/3.0/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java

Modified: 
pdfbox/branches/3.0/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java
==============================================================================
--- 
pdfbox/branches/3.0/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java
      Sat Mar 28 16:53:05 2026        (r1932644)
+++ 
pdfbox/branches/3.0/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java
      Sat Mar 28 16:53:08 2026        (r1932645)
@@ -355,12 +355,9 @@ public class PDFDebugger extends JFrame
         File file = new File("config.properties");
         if (file.exists())
         {
-            try
+            try (InputStream is = new FileInputStream(file))
             {
-                try (InputStream is = new FileInputStream(file))
-                {
-                    configuration.load(is);
-                }
+                configuration.load(is);
             }
             catch (IOException ex)
             {

Reply via email to