mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-09 10:19:41 +02:00
's;^\s+$;;' on all source files
And add checkstyle test for lines containing only whitespace characters.
This commit is contained in:
parent
05c97c494b
commit
0fde39fa45
193 changed files with 1066 additions and 1062 deletions
|
@ -99,7 +99,7 @@ import java.util.logging.Logger;
|
|||
public class EnhancedDebugger implements SmackDebugger {
|
||||
|
||||
private static final Logger LOGGER = Logger.getLogger(EnhancedDebugger.class.getName());
|
||||
|
||||
|
||||
private static final String NEWLINE = "\n";
|
||||
|
||||
private static ImageIcon packetReceivedIcon;
|
||||
|
@ -354,22 +354,22 @@ public class EnhancedDebugger implements SmackDebugger {
|
|||
messageTextArea.addMouseListener(new PopupListener(menu));
|
||||
JPanel sublayout = new JPanel(new BorderLayout());
|
||||
sublayout.add(new JScrollPane(messageTextArea), BorderLayout.CENTER);
|
||||
|
||||
|
||||
JButton clearb = new JButton("Clear All Packets");
|
||||
|
||||
|
||||
clearb.addActionListener(new AbstractAction() {
|
||||
private static final long serialVersionUID = -8576045822764763613L;
|
||||
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
messagesTable.setRowCount(0);
|
||||
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
sublayout.add(clearb, BorderLayout.NORTH);
|
||||
allPane.setBottomComponent(sublayout);
|
||||
|
||||
|
||||
allPane.setDividerLocation(150);
|
||||
|
||||
tabbedPane.add("All Packets", allPane);
|
||||
|
|
|
@ -197,7 +197,7 @@ public class EnhancedDebuggerWindow {
|
|||
getInstance().tabbedPane.indexOfComponent(debugger.tabbedPane),
|
||||
connectionActiveIcon);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Creates the main debug window that provides information about Smack and also shows
|
||||
* a tab panel for each connection that is being debugged.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue