pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1861738 - /pdfbox/branches/issue4569/debugger/src/main/java/org/apache/pdfbox/debugger/streampane/StreamPane.java
Date Fri, 21 Jun 2019 04:19:50 GMT
Author: tilman
Date: Fri Jun 21 04:19:50 2019
New Revision: 1861738

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

Modified:
    pdfbox/branches/issue4569/debugger/src/main/java/org/apache/pdfbox/debugger/streampane/StreamPane.java

Modified: pdfbox/branches/issue4569/debugger/src/main/java/org/apache/pdfbox/debugger/streampane/StreamPane.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/issue4569/debugger/src/main/java/org/apache/pdfbox/debugger/streampane/StreamPane.java?rev=1861738&r1=1861737&r2=1861738&view=diff
==============================================================================
--- pdfbox/branches/issue4569/debugger/src/main/java/org/apache/pdfbox/debugger/streampane/StreamPane.java
(original)
+++ pdfbox/branches/issue4569/debugger/src/main/java/org/apache/pdfbox/debugger/streampane/StreamPane.java
Fri Jun 21 04:19:50 2019
@@ -168,7 +168,7 @@ public class StreamPane implements Actio
     @Override
     public void actionPerformed(ActionEvent actionEvent)
     {
-        if (actionEvent.getActionCommand().equals("comboBoxChanged"))
+        if ("comboBoxChanged".equals(actionEvent.getActionCommand()))
         {
             JComboBox comboBox = (JComboBox) actionEvent.getSource();
             String currentFilter = (String) comboBox.getSelectedItem();



Mime
View raw message