You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2025/05/18 08:05:05 UTC

svn commit: r1925661 - /pdfbox/branches/3.0/debugger/src/main/java/org/apache/pdfbox/debugger/ui/LogDialog.java

Author: tilman
Date: Sun May 18 08:05:05 2025
New Revision: 1925661

URL: http://svn.apache.org/viewvc?rev=1925661&view=rev
Log:
PDFBOX-2941: fix status bar message

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

Modified: pdfbox/branches/3.0/debugger/src/main/java/org/apache/pdfbox/debugger/ui/LogDialog.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/3.0/debugger/src/main/java/org/apache/pdfbox/debugger/ui/LogDialog.java?rev=1925661&r1=1925660&r2=1925661&view=diff
==============================================================================
--- pdfbox/branches/3.0/debugger/src/main/java/org/apache/pdfbox/debugger/ui/LogDialog.java (original)
+++ pdfbox/branches/3.0/debugger/src/main/java/org/apache/pdfbox/debugger/ui/LogDialog.java Sun May 18 08:05:05 2025
@@ -165,12 +165,12 @@ public class LogDialog extends JDialog
 
         if (exceptionCount > 0)
         {
-            infos.add(exceptionCount + " exception" + (errorCount > 1 ? "s" : ""));
+            infos.add(exceptionCount + " exception" + (exceptionCount > 1 ? "s" : ""));
         }
 
         if (fatalCount > 0)
         {
-            infos.add(errorCount + " error" + (errorCount > 1 ? "s" : ""));
+            infos.add(fatalCount + " fatal error" + (fatalCount > 1 ? "s" : ""));
         }
 
         if (errorCount > 0)