pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1861746 - /pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/ui/DebugLog.java
Date Fri, 21 Jun 2019 06:38:03 GMT
Author: tilman
Date: Fri Jun 21 06:38:03 2019
New Revision: 1861746

URL: http://svn.apache.org/viewvc?rev=1861746&view=rev
Log:
PDFBOX-2941: SonarQube fix

Modified:
    pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/ui/DebugLog.java

Modified: pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/ui/DebugLog.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/ui/DebugLog.java?rev=1861746&r1=1861745&r2=1861746&view=diff
==============================================================================
--- pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/ui/DebugLog.java (original)
+++ pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/ui/DebugLog.java Fri Jun
21 06:38:03 2019
@@ -27,9 +27,9 @@ public class DebugLog implements Log
     private final String name;
     
     // hardcoded, but kept to aid with debugging custom builds
-    private final boolean INFO = true;
-    private final boolean TRACE = false;
-    private final boolean DEBUG = false;
+    private static final boolean INFO = true;
+    private static final boolean TRACE = false;
+    private static final boolean DEBUG = false;
 
     public DebugLog(String name)
     {



Mime
View raw message