diff options
author | Frankie B <git@diskfloppy.me> | 2024-05-10 00:32:34 +0100 |
---|---|---|
committer | Frankie B <git@diskfloppy.me> | 2024-05-10 00:32:34 +0100 |
commit | 3faced7068a8401b57be8949e80ce4f4da4a0fb5 (patch) | |
tree | 32e76b06780fe6c14ddb4917d3ad0b222fa9c596 /src/com/wilko/jaim/TocSetIdleCommand.java | |
parent | a1dff2cb8d33b17bc5981f1638cd50266713e98f (diff) |
Format all code, add editorconfig
Diffstat (limited to 'src/com/wilko/jaim/TocSetIdleCommand.java')
-rw-r--r-- | src/com/wilko/jaim/TocSetIdleCommand.java | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/com/wilko/jaim/TocSetIdleCommand.java b/src/com/wilko/jaim/TocSetIdleCommand.java index 2d192ba..95e93c9 100644 --- a/src/com/wilko/jaim/TocSetIdleCommand.java +++ b/src/com/wilko/jaim/TocSetIdleCommand.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 @@ -25,29 +25,29 @@ package com.wilko.jaim; /** - * - * @author paulw + * @author paulw * @version $version: $ */ public class TocSetIdleCommand extends TocCommand { - private int idle; - private static final String CMD="toc_set_idle "; - - /** Creates new TocSetIdleCommand - *@param idleSecs - the period for which the user has been idle + private static final String CMD = "toc_set_idle "; + private final int idle; + + /** + * Creates new TocSetIdleCommand + * + * @param idleSecs - the period for which the user has been idle */ public TocSetIdleCommand(int idleSecs) { - idle=idleSecs; + idle = idleSecs; } - - public String toString() - { - return(CMD+idle); + + public String toString() { + return (CMD + idle); } public byte[] getBytes() { - return(toString().getBytes()); + return (toString().getBytes()); } - + } |