pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1861833 - in /pdfbox/branches/issue45/debugger/src/main/java/org/apache/pdfbox/debugger: hexviewer/HexPane.java ui/ZoomMenu.java
Date Sat, 22 Jun 2019 10:10:26 GMT
Author: tilman
Date: Sat Jun 22 10:10:26 2019
New Revision: 1861833

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

Modified:
    pdfbox/branches/issue45/debugger/src/main/java/org/apache/pdfbox/debugger/hexviewer/HexPane.java
    pdfbox/branches/issue45/debugger/src/main/java/org/apache/pdfbox/debugger/ui/ZoomMenu.java

Modified: pdfbox/branches/issue45/debugger/src/main/java/org/apache/pdfbox/debugger/hexviewer/HexPane.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/issue45/debugger/src/main/java/org/apache/pdfbox/debugger/hexviewer/HexPane.java?rev=1861833&r1=1861832&r2=1861833&view=diff
==============================================================================
--- pdfbox/branches/issue45/debugger/src/main/java/org/apache/pdfbox/debugger/hexviewer/HexPane.java
(original)
+++ pdfbox/branches/issue45/debugger/src/main/java/org/apache/pdfbox/debugger/hexviewer/HexPane.java
Sat Jun 22 10:10:26 2019
@@ -40,6 +40,7 @@ import javax.swing.JPanel;
  * HexPane shows the byte in a Grid table where every row has 16 bytes. It only draws bytes
those are
  * only visible at a given time.
  */
+@SuppressWarnings("squid:S1948")
 class HexPane extends JPanel implements KeyListener, MouseListener, MouseMotionListener,
HexModelChangeListener
 {
     private final HexModel model;

Modified: pdfbox/branches/issue45/debugger/src/main/java/org/apache/pdfbox/debugger/ui/ZoomMenu.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/issue45/debugger/src/main/java/org/apache/pdfbox/debugger/ui/ZoomMenu.java?rev=1861833&r1=1861832&r2=1861833&view=diff
==============================================================================
--- pdfbox/branches/issue45/debugger/src/main/java/org/apache/pdfbox/debugger/ui/ZoomMenu.java
(original)
+++ pdfbox/branches/issue45/debugger/src/main/java/org/apache/pdfbox/debugger/ui/ZoomMenu.java
Sat Jun 22 10:10:26 2019
@@ -31,6 +31,7 @@ import javax.swing.JRadioButtonMenuItem;
  */
 public final class ZoomMenu extends MenuBase
 {
+    @SuppressWarnings("squid:MaximumInheritanceDepth")
     private static class ZoomMenuItem extends JRadioButtonMenuItem
     {
         private final int zoom;



Mime
View raw message