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/TocGetInfoCommand.java | 35 +++++++++++++++---------------- 1 file changed, 17 insertions(+), 18 deletions(-) (limited to 'src/com/wilko/jaim/TocGetInfoCommand.java') diff --git a/src/com/wilko/jaim/TocGetInfoCommand.java b/src/com/wilko/jaim/TocGetInfoCommand.java index f333f67..0ed49ce 100644 --- a/src/com/wilko/jaim/TocGetInfoCommand.java +++ b/src/com/wilko/jaim/TocGetInfoCommand.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 @@ -17,7 +17,7 @@ * */ -/* +/* * (C) 2002 Paul Wilkinson wilko@users.sourceforge.net * * This program is free software; you can redistribute it and/or modify @@ -39,32 +39,31 @@ package com.wilko.jaim; /** - * - * @author paulw + * @author paulw * @version $version: $ */ public class TocGetInfoCommand extends TocCommand { - private String username; - - private static String CMD="toc_get_info "; - /** Creates new TocGetInfoCommand - *@param username The screen name for whom information is requested + private static final String CMD = "toc_get_info "; + private final String username; + + /** + * Creates new TocGetInfoCommand * + * @param username The screen name for whom information is requested */ - + public TocGetInfoCommand(String username) { - this.username=Utils.normalise(username); + this.username = Utils.normalise(username); } - - - public String toString() - { - return(CMD+username); + + + public String toString() { + return (CMD + username); } public byte[] getBytes() { - return(toString().getBytes()); + return (toString().getBytes()); } - + } -- cgit v1.2.3-54-g00ecf