1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-09-09 10:19:41 +02:00

Enable trailing whitespace checkstyle check

for all source code regions, including javadoc.
This commit is contained in:
Florian Schmaus 2018-05-09 23:06:12 +02:00
parent 9d61a6de7d
commit e8923b9d16
545 changed files with 3713 additions and 3715 deletions

View file

@ -109,7 +109,7 @@ public class EnhancedDebugger extends SmackDebugger {
{
URL url;
// Load the image icons
// Load the image icons
url =
Thread.currentThread().getContextClassLoader().getResource("images/nav_left_blue.png");
if (url != null) {
@ -205,7 +205,7 @@ public class EnhancedDebugger extends SmackDebugger {
}
// We'll arrange the UI into six tabs. The first tab contains all data, the second
// client generated XML, the third server generated XML, the fourth allows to send
// client generated XML, the third server generated XML, the fourth allows to send
// ad-hoc messages and the fifth contains connection information.
tabbedPane = new JTabbedPane();

View file

@ -219,10 +219,10 @@ public final class EnhancedDebuggerWindow {
}
// We'll arrange the UI into tabs. The last tab contains Smack's information.
// All the connection debugger tabs will be shown before the Smack info tab.
// All the connection debugger tabs will be shown before the Smack info tab.
tabbedPane = new JTabbedPane();
// Create the Smack info panel
// Create the Smack info panel
JPanel informationPanel = new JPanel();
informationPanel.setLayout(new BoxLayout(informationPanel, BoxLayout.Y_AXIS));

View file

@ -51,9 +51,9 @@ import org.jivesoftware.smack.util.WriterListener;
import org.jxmpp.jid.EntityFullJid;
/**
* The LiteDebugger is a very simple debugger that allows to debug sent, received and
* The LiteDebugger is a very simple debugger that allows to debug sent, received and
* interpreted messages.
*
*
* @author Gaston Dombiak
*/
public class LiteDebugger extends SmackDebugger {
@ -82,7 +82,7 @@ public class LiteDebugger extends SmackDebugger {
frame = new JFrame("Smack Debug Window -- " + connection.getXMPPServiceDomain() + ":" +
connection.getPort());
// Add listener for window closing event
// Add listener for window closing event
frame.addWindowListener(new WindowAdapter() {
@Override
public void windowClosing(WindowEvent evt) {
@ -265,10 +265,10 @@ public class LiteDebugger extends SmackDebugger {
}
/**
* Notification that the root window is closing. Stop listening for received and
* Notification that the root window is closing. Stop listening for received and
* transmitted packets.
*
* @param evt the event that indicates that the root window is closing
*
* @param evt the event that indicates that the root window is closing
*/
public void rootWindowClosing(WindowEvent evt) {
// TODO: Remove debugger from connection.