From 3faced7068a8401b57be8949e80ce4f4da4a0fb5 Mon Sep 17 00:00:00 2001 From: Frankie B Date: Fri, 10 May 2024 00:32:34 +0100 Subject: Format all code, add editorconfig --- src/com/wilko/jaim/TocChatJoinCommand.java | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/com/wilko/jaim/TocChatJoinCommand.java') diff --git a/src/com/wilko/jaim/TocChatJoinCommand.java b/src/com/wilko/jaim/TocChatJoinCommand.java index 314fea9..d0fb1dc 100644 --- a/src/com/wilko/jaim/TocChatJoinCommand.java +++ b/src/com/wilko/jaim/TocChatJoinCommand.java @@ -1,4 +1,4 @@ -/* +/* * (C) 2002 Paul Wilkinson wilko@users.sourceforge.net * * This program is free software; you can redistribute it and/or modify @@ -26,28 +26,28 @@ package com.wilko.jaim; /** - * - * @author paulw + * @author paulw * @version $Revision: 1.4 $ */ public class TocChatJoinCommand extends TocCommand { - private int exchange; - private String roomName; + private final int exchange; + private final String roomName; - /** Creates new TocIMCommand */ + /** + * Creates new TocIMCommand + */ public TocChatJoinCommand(int exchange, String roomName) { - this.exchange=exchange; - this.roomName=roomName; + this.exchange = exchange; + this.roomName = roomName; } - public String toString() - { - return ("toc_chat_join "+exchange+" "+roomName); + public String toString() { + return ("toc_chat_join " + exchange + " " + roomName); } - + public byte[] getBytes() { - return(this.toString().getBytes()); + return (this.toString().getBytes()); } - + } -- cgit v1.2.3-54-g00ecf