[Cherbot-commit] SF.net SVN: cherbot: [18] trunk/src/net/sf/cherbot
Status: Alpha
Brought to you by:
christianhujer
|
From: <chr...@us...> - 2006-10-28 22:58:47
|
Revision: 18
http://svn.sourceforge.net/cherbot/?rev=18&view=rev
Author: christianhujer
Date: 2006-10-28 15:58:11 -0700 (Sat, 28 Oct 2006)
Log Message:
-----------
Removed unused version information from files.
Modified Paths:
--------------
trunk/src/net/sf/cherbot/BlackListManager.java
trunk/src/net/sf/cherbot/CherBot.java
trunk/src/net/sf/cherbot/CherBotException.java
trunk/src/net/sf/cherbot/CherBotLogger.java
trunk/src/net/sf/cherbot/CherBotPermission.java
trunk/src/net/sf/cherbot/CherBotSecurityManager.java
trunk/src/net/sf/cherbot/CollectionsManager.java
trunk/src/net/sf/cherbot/CommType.java
trunk/src/net/sf/cherbot/CrimeManager.java
trunk/src/net/sf/cherbot/CronManager.java
trunk/src/net/sf/cherbot/DeathsManager.java
trunk/src/net/sf/cherbot/DummyManagerProxy.java
trunk/src/net/sf/cherbot/EmotesManager.java
trunk/src/net/sf/cherbot/ExampleTestCase.java
trunk/src/net/sf/cherbot/ExampleTester.java
trunk/src/net/sf/cherbot/GreetingsManager.java
trunk/src/net/sf/cherbot/GroupManager.java
trunk/src/net/sf/cherbot/LamentsManager.java
trunk/src/net/sf/cherbot/MailManager.java
trunk/src/net/sf/cherbot/Manager.java
trunk/src/net/sf/cherbot/ManagerDocumenter.java
trunk/src/net/sf/cherbot/NoSuchPlayerException.java
trunk/src/net/sf/cherbot/NoobManager.java
trunk/src/net/sf/cherbot/PlayerManager.java
trunk/src/net/sf/cherbot/PollManager.java
trunk/src/net/sf/cherbot/RodBabyManager.java
trunk/src/net/sf/cherbot/RodBabyWannabeManager.java
trunk/src/net/sf/cherbot/SalesManager.java
trunk/src/net/sf/cherbot/SmutException.java
trunk/src/net/sf/cherbot/SmutManager.java
trunk/src/net/sf/cherbot/TestManager.java
trunk/src/net/sf/cherbot/TimeManager.java
Modified: trunk/src/net/sf/cherbot/BlackListManager.java
===================================================================
--- trunk/src/net/sf/cherbot/BlackListManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/BlackListManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -12,18 +12,12 @@
/**
* Manages a black list of users that may not use Cherbot.
* @author $Author: chris $
- * @version $Id: BlackListManager.java,v 1.13 2005/11/09 20:30:00 chris Exp $
*/
@Manager.Description("Blacklist of players that are denied to use Cherbot.")
@Manager.Features({ "Blacklist players that are denied to use Cherbot." })
public class BlackListManager extends Manager {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.13 $";
-
- /**
* Permission to modify blacklist.
*/
private static final String PERM_BLACKLIST = "Blacklist";
@@ -135,52 +129,3 @@
} // IO Modules
} // class BlackListManager
-
-/*
- * $Log: BlackListManager.java,v $
- * Revision 1.13 2005/11/09 20:30:00 chris
- * Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
- *
- * Revision 1.12 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.11 2005/08/29 15:45:39 chris
- * Some minor improvements.
- *
- * Revision 1.10 2005/04/02 23:08:43 chris
- * Reworked command pattern creation to allow variables.
- * Reworked commands to use variables.
- * Added alliances to groups.
- * Added group membership listing to groups.
- *
- * Revision 1.9 2005/04/01 11:36:23 chris
- * Removed unused boundaries from regexps.
- *
- * Revision 1.8 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.7 2005/03/23 12:46:32 chris
- * Improved regex handling.
- *
- * Revision 1.6 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.5 2005/03/15 23:49:25 chris
- * Fixed regular expressions with test results.
- *
- * Revision 1.4 2005/03/15 22:41:26 chris
- * Improved regexes.
- *
- * Revision 1.3 2005/03/15 11:43:45 chris
- * Added manager description.
- *
- * Revision 1.2 2005/03/15 01:55:43 chris
- * Refactored matcher, fixed null vs. Blacklist bug.
- *
- * Revision 1.1 2005/03/14 16:55:00 chris
- * Added.
- *
- */
Modified: trunk/src/net/sf/cherbot/CherBot.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBot.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/CherBot.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -25,7 +25,6 @@
/**
* A Daimonin bot.
* @author $Author: chris $
- * @version $Id: CherBot.java,v 1.31 2005/11/09 20:30:00 chris Exp $
* @todo split this class into four: A generic base class for robots, a class handling Daimonin-specific stuff, an interface for network
* implementations implemted by the latter, and this specific CherBot subclass.
* @todo perhaps add a graphical interface.
@@ -485,7 +484,6 @@
/**
* The internal manager.
* @author $Author: chris $
- * @version $Revision: 1.31 $
*/
@Manager.Description("Manages the other modules and gives some general information about the bot.")
@Manager.Features({
Modified: trunk/src/net/sf/cherbot/CherBotException.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBotException.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/CherBotException.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -11,21 +11,10 @@
* These exceptions are runtime exceptions thrown if actors use illegal arguments or commands in a wrong state.
* The message of such an exception must be a message meaningful to the end user (bot user).
* @author $Author: chris $
- * @version $Id: CherBotException.java,v 1.3 2005/03/18 17:35:42 chris Exp $
*/
public class CherBotException extends RuntimeException {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.3 $";
-
- /**
- * Serial Version.
- */
- private static final long serialVersionUID = 1L;
-
- /**
* Create a CherBotException.
* @param msg Message (displayed to end user)
*/
@@ -34,24 +23,3 @@
}
} // class CherBotException
-
-/*
- * $Log: CherBotException.java,v $
- * Revision 1.3 2005/03/18 17:35:42 chris
- * Fixed cocumentation
- *
- * Revision 1.2 2005/03/14 03:06:20 chris
- * Fixed copyright.
- *
- * Revision 1.1 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked code to only shout in 2 particular cases:
- * a) VOTE for Daimonin adds.
- * b) A known criminal enters.
- * Added PollManager.
- * Added ManagerDocumenter.
- * Reworked Exception Handling to integrate CherBotException.
- *
- */
Modified: trunk/src/net/sf/cherbot/CherBotLogger.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBotLogger.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/CherBotLogger.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -13,16 +13,10 @@
/**
* This class is used for logging within Cherbot.
* @author $Author: chris $
- * @version $Id: CherBotLogger.java,v 1.2 2005/08/31 13:55:28 chris Exp $
*/
public class CherBotLogger {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.2 $";
-
- /**
* The logger.
*/
private PrintWriter log;
@@ -93,15 +87,3 @@
}
} // class CherBotLogger
-
-/*
- * $Log: CherBotLogger.java,v $
- * Revision 1.2 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.1 2005/08/29 15:45:39 chris
- * Some minor improvements.
- *
- */
Modified: trunk/src/net/sf/cherbot/CherBotPermission.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBotPermission.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/CherBotPermission.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -11,16 +11,10 @@
/**
* Permissions to access the CherBot.
* @author $Author: chris $
- * @version $Id: CherBotPermission.java,v 1.1 2005/03/01 09:14:02 chris Exp $
*/
public class CherBotPermission extends BasicPermission {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.1 $";
-
- /**
* Serial Version.
*/
private static final long serialVersionUID = 1L;
@@ -34,10 +28,3 @@
}
} // class CherBotPermission
-
-/*
- * $Log: CherBotPermission.java,v $
- * Revision 1.1 2005/03/01 09:14:02 chris
- * First import to version control.
- *
- */
Modified: trunk/src/net/sf/cherbot/CherBotSecurityManager.java
===================================================================
--- trunk/src/net/sf/cherbot/CherBotSecurityManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/CherBotSecurityManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -27,18 +27,12 @@
* SecurityManager for CherBot.
* The CherBotSecurityManager manages the permissions granted for the individual modules and actions.
* @author $Author: chris $
- * @version $Id: CherBotSecurityManager.java,v 1.17 2005/11/09 20:30:00 chris Exp $
*/
@Manager.Description("Cherbot has a sophisticated security system, derived from Java. It is comparable with JAAS, the security concept used in Java application servers. This module controls security.")
@Manager.Features({ "Grant permissions", "Revoke permissions", "List permissions" })
public class CherBotSecurityManager extends Manager {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.17 $";
-
- /**
* Permission to grant permissions.
*/
private static final String PERM_GRANT = "Security.Grant";
@@ -321,78 +315,3 @@
}
} // class CherBotSecurityManager
-
-/*
- * $Log: CherBotSecurityManager.java,v $
- * Revision 1.17 2005/11/09 20:30:00 chris
- * Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
- *
- * Revision 1.16 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.15 2005/08/29 15:45:39 chris
- * Some minor improvements.
- *
- * Revision 1.14 2005/04/02 23:08:43 chris
- * Reworked command pattern creation to allow variables.
- * Reworked commands to use variables.
- * Added alliances to groups.
- * Added group membership listing to groups.
- *
- * Revision 1.13 2005/04/01 11:36:23 chris
- * Removed unused boundaries from regexps.
- *
- * Revision 1.12 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.11 2005/03/23 12:46:32 chris
- * Improved regex handling.
- *
- * Revision 1.10 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.9 2005/03/15 23:49:25 chris
- * Fixed regular expressions with test results.
- *
- * Revision 1.8 2005/03/15 11:43:45 chris
- * Added manager description.
- *
- * Revision 1.7 2005/03/15 01:55:43 chris
- * Refactored matcher, fixed null vs. Blacklist bug.
- *
- * Revision 1.6 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked code to only shout in 2 particular cases:
- * a) VOTE for Daimonin adds.
- * b) A known criminal enters.
- * Added PollManager.
- * Added ManagerDocumenter.
- * Reworked Exception Handling to integrate CherBotException.
- *
- * Revision 1.5 2005/03/04 11:26:33 chris
- * Refactored to use central actor information.
- * Collections: Minor code improvements.
- * SmutManager: Implemented load/save.
- *
- * Revision 1.4 2005/03/03 18:23:47 chris
- * Improved source code quality.
- * Corrected some regular expressions.
- * Added handling for events and text.
- *
- * Revision 1.3 2005/03/01 10:43:37 chris
- * Added list other facility.
- * Beautified source code.
- * Added some documentation.
- *
- * Revision 1.2 2005/03/01 10:04:27 chris
- * Centralized load/save exception handling.
- *
- * Revision 1.1 2005/03/01 09:14:02 chris
- * First import to version control.
- *
- */
Modified: trunk/src/net/sf/cherbot/CollectionsManager.java
===================================================================
--- trunk/src/net/sf/cherbot/CollectionsManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/CollectionsManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -19,7 +19,6 @@
/**
* Manager for collectors.
* @author $Author: chris $
- * @version $Id: CollectionsManager.java,v 1.21 2005/11/09 20:30:00 chris Exp $
*/
@Manager.Description("This module allows players to manage a list of items they collect. You can also ask what other players collect or who collects a certain item. Like most modules, querying works also if the queried player is not online.")
@Manager.Features({
@@ -30,11 +29,6 @@
public class CollectionsManager extends Manager {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.21 $";
-
- /**
* Permission to collect.
*/
private static final String PERM_COLLECT = "Collections.Edit";
@@ -42,7 +36,6 @@
/**
* Entry.
* @author $Author: chris $
- * @version $Revision: 1.21 $
*/
private static class Entry implements Comparable<Entry> {
@@ -579,91 +572,3 @@
} // IO Modules
} // class CollectorsManager
-
-/*
- * $Log: CollectionsManager.java,v $
- * Revision 1.21 2005/11/09 20:30:00 chris
- * Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
- *
- * Revision 1.20 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.19 2005/04/26 10:49:45 chris
- * omitted 'want' from C_COLLECT since it has some modal character and is used elsewhere.
- *
- * Revision 1.18 2005/04/02 23:08:43 chris
- * Reworked command pattern creation to allow variables.
- * Reworked commands to use variables.
- * Added alliances to groups.
- * Added group membership listing to groups.
- *
- * Revision 1.17 2005/04/01 11:36:23 chris
- * Removed unused boundaries from regexps.
- *
- * Revision 1.16 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.15 2005/03/30 22:12:59 chris
- * Listing online collectors.
- *
- * Revision 1.14 2005/03/25 10:25:13 chris
- * Implemented online collections and listening.
- *
- * Revision 1.13 2005/03/23 12:46:32 chris
- * Improved regex handling.
- *
- * Revision 1.12 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.11 2005/03/15 11:44:02 chris
- * Made Cherbot less picky on apostrophes.
- *
- * Revision 1.10 2005/03/15 01:55:43 chris
- * Refactored matcher, fixed null vs. Blacklist bug.
- *
- * Revision 1.9 2005/03/14 03:13:07 chris
- * Improved regular expressions.
- * Added class annotations.
- * Added "I collect nothing" command.
- *
- * Revision 1.8 2005/03/10 14:18:30 chris
- * Improved regular expressions.
- *
- * Revision 1.7 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked code to only shout in 2 particular cases:
- * a) VOTE for Daimonin adds.
- * b) A known criminal enters.
- * Added PollManager.
- * Added ManagerDocumenter.
- * Reworked Exception Handling to integrate CherBotException.
- *
- * Revision 1.6 2005/03/05 11:18:11 chris
- * Fixed serious security bug.
- *
- * Revision 1.5 2005/03/04 11:26:33 chris
- * Refactored to use central actor information.
- * Collections: Minor code improvements.
- * SmutManager: Implemented load/save.
- *
- * Revision 1.4 2005/03/03 18:23:47 chris
- * Improved source code quality.
- * Corrected some regular expressions.
- * Added handling for events and text.
- *
- * Revision 1.3 2005/03/01 10:59:52 chris
- * Improved source format.
- * Added more commands.
- *
- * Revision 1.2 2005/03/01 10:04:27 chris
- * Centralized load/save exception handling.
- *
- * Revision 1.1 2005/03/01 09:14:02 chris
- * First import to version control.
- *
- */
Modified: trunk/src/net/sf/cherbot/CommType.java
===================================================================
--- trunk/src/net/sf/cherbot/CommType.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/CommType.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -15,7 +15,6 @@
/**
* Enumeration for known communication types, along with matching facility.
* @author $Author: chris $
- * @version $Revision: 1.4 $
*/
public enum CommType {
@@ -61,24 +60,3 @@
}
} // enum CommType
-
-/*
- * $Log: CommType.java,v $
- * Revision 1.4 2005/11/15 20:50:07 chris
- * Fixed some behaviour.
- *
- * Revision 1.3 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.2 2005/04/02 23:08:43 chris
- * Reworked command pattern creation to allow variables.
- * Reworked commands to use variables.
- * Added alliances to groups.
- * Added group membership listing to groups.
- *
- * Revision 1.1 2005/03/03 18:22:22 chris
- * Added.
- *
- */
Modified: trunk/src/net/sf/cherbot/CrimeManager.java
===================================================================
--- trunk/src/net/sf/cherbot/CrimeManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/CrimeManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -18,7 +18,6 @@
/**
* Class to manage crimes.
* @author $Author: chris $
- * @version $Revision: 1.22 $
* @todo timestamps, victims, eyewitnesses.
*/
@Manager.Description("Manages crimes and criminals.")
@@ -31,11 +30,6 @@
public class CrimeManager extends Manager {
/**
- * Version Information.
- */
- public static final String version = "$Revision: 1.22 $";
-
- /**
* Crimetypes.
*/
private SortedSet<String> crimeTypes = new TreeSet<String>();
@@ -393,13 +387,9 @@
///** Class for a crime type.
// * @author $Author: chris $
-// * @version $Revision: 1.22 $
// */
//class CrimeType {
//
-// /** Version Information. */
-// public static final String version = "$Revision: 1.22 $";
-//
// /** ID of this CrimeType. */
// String id;
//
@@ -416,13 +406,9 @@
//
///** Class for a crime.
// * @author $Author: chris $
-// * @version $Revision: 1.22 $
// */
//class Crime {
//
-// /** Version Information. */
-// public static final String version = "$Revision: 1.22 $";
-//
// /** The type of this Crime.
// * Should match with an id from a CrimeType.
// */
@@ -491,92 +477,3 @@
// }
//
//} // class Crime
-
-/*
- * $Log: CrimeManager.java,v $
- * Revision 1.22 2005/11/09 20:30:00 chris
- * Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
- *
- * Revision 1.21 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.20 2005/04/26 10:50:06 chris
- * Fixed regex bug.
- *
- * Revision 1.19 2005/04/02 23:08:43 chris
- * Reworked command pattern creation to allow variables.
- * Reworked commands to use variables.
- * Added alliances to groups.
- * Added group membership listing to groups.
- *
- * Revision 1.18 2005/04/01 11:36:23 chris
- * Removed unused boundaries from regexps.
- *
- * Revision 1.17 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.16 2005/03/30 22:14:49 chris
- * Inform offline criminals, list online criminals.
- *
- * Revision 1.15 2005/03/25 10:28:25 chris
- * Imrpoved commands.
- *
- * Revision 1.14 2005/03/23 12:46:32 chris
- * Improved regex handling.
- *
- * Revision 1.13 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.12 2005/03/15 23:49:25 chris
- * Fixed regular expressions with test results.
- *
- * Revision 1.11 2005/03/15 11:44:02 chris
- * Made Cherbot less picky on apostrophes.
- *
- * Revision 1.10 2005/03/15 01:55:43 chris
- * Refactored matcher, fixed null vs. Blacklist bug.
- *
- * Revision 1.9 2005/03/14 03:46:42 chris
- * Improved regexp.
- *
- * Revision 1.8 2005/03/14 03:11:27 chris
- * Added class annotations.
- * Fixed output of crime count.
- *
- * Revision 1.7 2005/03/10 21:11:33 chris
- * Added list reported crimes command.
- *
- * Revision 1.6 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked code to only shout in 2 particular cases:
- * a) VOTE for Daimonin adds.
- * b) A known criminal enters.
- * Added PollManager.
- * Added ManagerDocumenter.
- * Reworked Exception Handling to integrate CherBotException.
- *
- * Revision 1.5 2005/03/04 11:35:10 chris
- * Fixed minor documentation bugs.
- *
- * Revision 1.4 2005/03/04 11:26:33 chris
- * Refactored to use central actor information.
- * Collections: Minor code improvements.
- * SmutManager: Implemented load/save.
- *
- * Revision 1.3 2005/03/03 18:23:47 chris
- * Improved source code quality.
- * Corrected some regular expressions.
- * Added handling for events and text.
- *
- * Revision 1.2 2005/03/01 10:04:27 chris
- * Centralized load/save exception handling.
- *
- * Revision 1.1 2005/03/01 09:14:02 chris
- * First import to version control.
- *
- */
Modified: trunk/src/net/sf/cherbot/CronManager.java
===================================================================
--- trunk/src/net/sf/cherbot/CronManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/CronManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -14,18 +14,12 @@
* Manager to manage events (commands etc.) that need to be scheduled in some timed intervals.
* It is mainly a proxy handling all manager interaction.
* @author $Author: chris $
- * @version $Id: CronManager.java,v 1.2 2005/09/13 21:00:35 chris Exp $
*/
@Manager.Description("This manager is used for scheduling commands in regular intervals.")
@Manager.Features("This manager is similar to the cron command in UNIX or the task planner in Windows.")
public class CronManager extends Manager {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.2 $";
-
- /**
* The TickEvents.
*/
private final List<CronTask> cronTasks = new ArrayList<CronTask>();
Modified: trunk/src/net/sf/cherbot/DeathsManager.java
===================================================================
--- trunk/src/net/sf/cherbot/DeathsManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/DeathsManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -15,7 +15,6 @@
* A class that manages deaths.
* Each time a player dies, his/her death is counted.
* @author $Author: chris $
- * @version $Id: DeathsManager.java,v 1.16 2005/11/09 20:30:00 chris Exp $
* @todo statistics and rankings
*/
@Manager.Description("The death manager recognizes that a player died. It counts each death of each player and manages two statistics. One for the deaths of each player and one of the kills from each mob.")
@@ -26,11 +25,6 @@
public class DeathsManager extends Manager {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.16 $";
-
- /**
* Death count.
*/
private Map<String, int[]> deaths = new HashMap<String, int[]>();
@@ -208,69 +202,3 @@
} // IO Modules
} // class DeathsManager
-
-/*
- * $Log: DeathsManager.java,v $
- * Revision 1.16 2005/11/09 20:30:00 chris
- * Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
- *
- * Revision 1.15 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.14 2005/04/01 11:36:23 chris
- * Removed unused boundaries from regexps.
- *
- * Revision 1.13 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.12 2005/03/30 22:16:02 chris
- * Implemented level-relative kill ranking.
- *
- * Revision 1.11 2005/03/25 10:28:12 chris
- * Improved commands.
- *
- * Revision 1.10 2005/03/23 12:46:32 chris
- * Improved regex handling.
- *
- * Revision 1.9 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.8 2005/03/15 01:55:43 chris
- * Refactored matcher, fixed null vs. Blacklist bug.
- *
- * Revision 1.7 2005/03/14 03:10:15 chris
- * Added class annotations.
- * Improved regexps.
- *
- * Revision 1.6 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked code to only shout in 2 particular cases:
- * a) VOTE for Daimonin adds.
- * b) A known criminal enters.
- * Added PollManager.
- * Added ManagerDocumenter.
- * Reworked Exception Handling to integrate CherBotException.
- *
- * Revision 1.5 2005/03/05 11:18:27 chris
- * Removed superfluous synchronization.
- *
- * Revision 1.4 2005/03/04 14:53:43 chris
- * Fixed bug in reading regexp.
- *
- * Revision 1.3 2005/03/04 11:26:33 chris
- * Refactored to use central actor information.
- * Collections: Minor code improvements.
- * SmutManager: Implemented load/save.
- *
- * Revision 1.2 2005/03/03 22:56:23 chris
- * Improved code, fixed regexp
- *
- * Revision 1.1 2005/03/03 18:22:22 chris
- * Added.
- *
- */
Modified: trunk/src/net/sf/cherbot/DummyManagerProxy.java
===================================================================
--- trunk/src/net/sf/cherbot/DummyManagerProxy.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/DummyManagerProxy.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -12,7 +12,6 @@
* This allows players to invoke commands from the removed module with a meaningful response like "This dommand was removed." instead of no response at
* all.
* @author $Author: chris $
- * @version $Id: DummyManagerProxy.java,v 1.7 2005/08/31 13:55:28 chris Exp $
*/
@Manager.Description("Only a dummy manager for helping disabling managers.")
@Manager.Features({
@@ -21,11 +20,6 @@
public class DummyManagerProxy extends Manager {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.7 $";
-
- /**
* Create a DummyManager.
* @param cherBot CherBot to create DummyManager for
*/
@@ -52,39 +46,3 @@
}
} // class DUmmyManagerProxy
-
-/*
- * $Log: DummyManagerProxy.java,v $
- * Revision 1.7 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.6 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.5 2005/03/15 23:49:25 chris
- * Fixed regular expressions with test results.
- *
- * Revision 1.4 2005/03/15 01:55:43 chris
- * Refactored matcher, fixed null vs. Blacklist bug.
- *
- * Revision 1.3 2005/03/14 03:10:02 chris
- * Added annotations.
- *
- * Revision 1.2 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked code to only shout in 2 particular cases:
- * a) VOTE for Daimonin adds.
- * b) A known criminal enters.
- * Added PollManager.
- * Added ManagerDocumenter.
- * Reworked Exception Handling to integrate CherBotException.
- *
- * Revision 1.1 2005/03/05 20:18:48 chris
- * DummyManagerProxy.java
- *
- */
Modified: trunk/src/net/sf/cherbot/EmotesManager.java
===================================================================
--- trunk/src/net/sf/cherbot/EmotesManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/EmotesManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -18,7 +18,6 @@
/**
* The emotes manager reacts on emotes.
* @author $Author: chris $
- * @version $Id: EmotesManager.java,v 1.10 2005/11/09 20:30:00 chris Exp $
* @todo add timestamps to attitude changing commands, so players cannot simply fill their attitude by hugging Cherbot.
*/
@Manager.Description("CherBot can react on some emotes.")
@@ -26,11 +25,6 @@
public class EmotesManager extends Manager {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.10 $";
-
- /**
* Permission to modify lovers and haters.
*/
private static final String PERM_EMOTES = "Emotes";
@@ -804,43 +798,3 @@
} // IOModules
} // class EmotesManager
-
-/*
- * $Log: EmotesManager.java,v $
- * Revision 1.10 2005/11/09 20:30:00 chris
- * Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
- *
- * Revision 1.9 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.8 2005/04/02 23:08:43 chris
- * Reworked command pattern creation to allow variables.
- * Reworked commands to use variables.
- * Added alliances to groups.
- * Added group membership listing to groups.
- *
- * Revision 1.7 2005/04/01 11:36:23 chris
- * Removed unused boundaries from regexps.
- *
- * Revision 1.6 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.5 2005/03/23 12:46:32 chris
- * Improved regex handling.
- *
- * Revision 1.4 2005/03/19 12:33:32 chris
- * Big update with emotions.
- *
- * Revision 1.3 2005/03/18 17:35:42 chris
- * Fixed cocumentation
- *
- * Revision 1.2 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.1 2005/03/14 03:06:03 chris
- * Added.
- *
- */
Modified: trunk/src/net/sf/cherbot/ExampleTestCase.java
===================================================================
--- trunk/src/net/sf/cherbot/ExampleTestCase.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/ExampleTestCase.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -12,17 +12,11 @@
/**
* Class for a single Test Case that checks an example String against a regular expression.
* @author $Author: chris $
- * @version $Revision: 1.3 $
*/
public final class ExampleTestCase extends TestCase {
// Let not override this class, it wouldn't work as expected because runTest() has changed very much.
/**
- * Version Information.
- */
- public static final String version = "$Revision: 1.3 $";
-
- /**
* Pattern to check.
*/
private Pattern pat;
@@ -78,18 +72,3 @@
}
} // class ExampleTestCase
-
-/*
- * $Log: ExampleTestCase.java,v $
- * Revision 1.3 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.2 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.1 2005/03/16 11:36:18 chris
- * Added tests that verify that the examples work.
- *
- */
Modified: trunk/src/net/sf/cherbot/ExampleTester.java
===================================================================
--- trunk/src/net/sf/cherbot/ExampleTester.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/ExampleTester.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -13,16 +13,10 @@
/**
* Class that tests wether the examples given on the Commands really match the regular expressions.
* @author $Author: chris $
- * @version $Id: ExampleTester.java,v 1.2 2005/08/31 13:55:28 chris Exp $
*/
public final class ExampleTester extends TestSuite {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.2 $";
-
- /**
* Returns the TestSuite.
* @return TestSuite
*/
@@ -90,15 +84,3 @@
}
} // class ExampleTester
-
-/*
- * $Log: ExampleTester.java,v $
- * Revision 1.2 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.1 2005/03/16 11:36:18 chris
- * Added tests that verify that the examples work.
- *
- */
Modified: trunk/src/net/sf/cherbot/GreetingsManager.java
===================================================================
--- trunk/src/net/sf/cherbot/GreetingsManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/GreetingsManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -13,7 +13,6 @@
/**
* Class to manage greetings.
* @author $Author: chris $
- * @version $Revision: 1.18 $
*/
@Manager.Description("Greets players as soon as they enter, works like a kind of \"CherBot Sonar\" - you enter and instantly know wether CherBot is online.")
@Manager.Features({
@@ -24,11 +23,6 @@
public class GreetingsManager extends Manager {
/**
- * Version Information.
- */
- public static final String version = "$Revision: 1.18 $";
-
- /**
* Map for players / greetings.
*/
private Map<String, String> greetings = new HashMap<String, String>();
@@ -190,80 +184,3 @@
} // IO Modules
} // class GreetingsManager
-
-/*
- * $Log: GreetingsManager.java,v $
- * Revision 1.18 2005/11/09 20:30:00 chris
- * Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
- *
- * Revision 1.17 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.16 2005/04/26 10:50:18 chris
- * Improved regex.
- *
- * Revision 1.15 2005/04/02 23:08:43 chris
- * Reworked command pattern creation to allow variables.
- * Reworked commands to use variables.
- * Added alliances to groups.
- * Added group membership listing to groups.
- *
- * Revision 1.14 2005/04/01 11:36:23 chris
- * Removed unused boundaries from regexps.
- *
- * Revision 1.13 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.12 2005/03/23 12:46:32 chris
- * Improved regex handling.
- *
- * Revision 1.11 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.10 2005/03/15 23:49:25 chris
- * Fixed regular expressions with test results.
- *
- * Revision 1.9 2005/03/15 11:44:02 chris
- * Made Cherbot less picky on apostrophes.
- *
- * Revision 1.8 2005/03/15 01:55:43 chris
- * Refactored matcher, fixed null vs. Blacklist bug.
- *
- * Revision 1.7 2005/03/14 03:09:53 chris
- * Added class annotations.
- * Removed permission check for setting own greeting.
- *
- * Revision 1.6 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked code to only shout in 2 particular cases:
- * a) VOTE for Daimonin adds.
- * b) A known criminal enters.
- * Added PollManager.
- * Added ManagerDocumenter.
- * Reworked Exception Handling to integrate CherBotException.
- *
- * Revision 1.5 2005/03/05 11:19:06 chris
- * Removed superfluous synchronization.
- *
- * Revision 1.4 2005/03/04 11:26:33 chris
- * Refactored to use central actor information.
- * Collections: Minor code improvements.
- * SmutManager: Implemented load/save.
- *
- * Revision 1.3 2005/03/03 18:23:47 chris
- * Improved source code quality.
- * Corrected some regular expressions.
- * Added handling for events and text.
- *
- * Revision 1.2 2005/03/01 10:04:27 chris
- * Centralized load/save exception handling.
- *
- * Revision 1.1 2005/03/01 09:14:02 chris
- * First import to version control.
- *
- */
Modified: trunk/src/net/sf/cherbot/GroupManager.java
===================================================================
--- trunk/src/net/sf/cherbot/GroupManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/GroupManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -25,7 +25,6 @@
* Manager for groups.
* If the mail manager is installed, messages can be sent to all members of a group as well.
* @author $Author: chris $
- * @version $Id: GroupManager.java,v 1.19 2005/11/20 19:08:53 chris Exp $
*/
@Manager.Description("The GroupManager managers groups of players. Please read this carefully: Every modern RPG is very likely to get a really good clan feature of its own. The GroupManager in Cherbot is in no way a replacement for a good clan feature. It's only an interesting feature for testing what commands a magic clan secretary would have to understand. It's very likely that this feature will get removed from CherBot one day.")
@Manager.Features({ "Apply for group creation", "Manage a group", "Manage the status of group members", "Invite players to a group", "Confirm group membership", "Send messages to all members of a group" })
@@ -467,7 +466,6 @@
/**
* A Group.
* @author $Author: chris $
- * @version $Revision: 1.19 $
*/
private static class Group implements Serializable {
@@ -1189,16 +1187,10 @@
/**
* A member.
* @author $Author: chris $
- * @version $Revision: 1.19 $
*/
private class Member implements Serializable {
/**
- * Version Information.
- */
- public static final String version = "$Revision: 1.19 $";
-
- /**
* Serial Version.
*/
private static final long serialVersionUID = 1L;
@@ -1316,7 +1308,6 @@
/**
* Member state.
* @author $Author: chris $
- * @version $Revision: 1.19 $
*/
private enum State {
@@ -1424,69 +1415,3 @@
}
} // class GroupManager
-
-/*
- * $Log: GroupManager.java,v $
- * Revision 1.19 2005/11/20 19:08:53 chris
- * Fixed NPE bug when setting state to none.
- *
- * Revision 1.18 2005/11/09 20:30:00 chris
- * Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
- *
- * Revision 1.17 2005/09/13 21:00:35 chris
- * Small improvements.
- *
- * Revision 1.16 2005/09/10 11:20:41 chris
- * Hidden groups were listed on Wiki. This was wrong. Hidden groups are not shown in the wiki now.
- *
- * Revision 1.15 2005/09/06 22:18:17 chris
- * Another NPE bugfix.
- *
- * Revision 1.14 2005/09/06 22:00:23 chris
- * Fixed group npe bug.
- *
- * Revision 1.13 2005/09/06 21:53:14 chris
- * Added basic cron manager. Improved Group manager to include wiki output.
- *
- * Revision 1.12 2005/09/02 21:12:24 chris
- * Fixed founder state had no admin rights. Admin rights now include founder.
- *
- * Revision 1.11 2005/08/31 13:56:39 chris
- * Improved member count.
- *
- * Revision 1.10 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.9 2005/08/29 15:45:39 chris
- * Some minor improvements.
- *
- * Revision 1.8 2005/04/26 10:52:54 chris
- * Much work with commands, memberships and admin membership information.
- *
- * Revision 1.7 2005/04/02 23:08:43 chris
- * Reworked command pattern creation to allow variables.
- * Reworked commands to use variables.
- * Added alliances to groups.
- * Added group membership listing to groups.
- *
- * Revision 1.6 2005/04/01 11:36:23 chris
- * Removed unused boundaries from regexps.
- *
- * Revision 1.5 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.4 2005/03/30 22:16:41 chris
- * New commands to query members.
- *
- * Revision 1.3 2005/03/25 14:27:07 chris
- * Offline players are mailed now.
- *
- * Revision 1.2 2005/03/25 10:25:37 chris
- * Improved responses and commands for ease of use.
- *
- * Revision 1.1 2005/03/23 12:44:39 chris
- * Added.
- *
- */
Modified: trunk/src/net/sf/cherbot/LamentsManager.java
===================================================================
--- trunk/src/net/sf/cherbot/LamentsManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/LamentsManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -14,7 +14,6 @@
/**
* Class to manage laments killings.
* @author $Author: chris $
- * @version $Revision: 1.16 $
*/
@Manager.Description("You can have Cherbot lament you or other players when they die.")
@Manager.Features({
@@ -23,11 +22,6 @@
public class LamentsManager extends Manager {
/**
- * Version Information.
- */
- public static final String version = "$Revision: 1.16 $";
-
- /**
* Map for players / laments.
*/
private Map<String, String> laments = new HashMap<String, String>();
@@ -204,74 +198,3 @@
} // IO Modules
} // class LamentsManager
-
-/*
- * $Log: LamentsManager.java,v $
- * Revision 1.16 2005/11/09 20:30:00 chris
- * Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
- *
- * Revision 1.15 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.14 2005/04/02 23:08:43 chris
- * Reworked command pattern creation to allow variables.
- * Reworked commands to use variables.
- * Added alliances to groups.
- * Added group membership listing to groups.
- *
- * Revision 1.13 2005/04/01 11:36:23 chris
- * Removed unused boundaries from regexps.
- *
- * Revision 1.12 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.11 2005/03/23 12:46:32 chris
- * Improved regex handling.
- *
- * Revision 1.10 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.9 2005/03/15 11:44:02 chris
- * Made Cherbot less picky on apostrophes.
- *
- * Revision 1.8 2005/03/15 01:55:43 chris
- * Refactored matcher, fixed null vs. Blacklist bug.
- *
- * Revision 1.7 2005/03/14 03:09:25 chris
- * Added class annotations.
- * Removed permission for setting own laments message.
- *
- * Revision 1.6 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked code to only shout in 2 particular cases:
- * a) VOTE for Daimonin adds.
- * b) A known criminal enters.
- * Added PollManager.
- * Added ManagerDocumenter.
- * Reworked Exception Handling to integrate CherBotException.
- *
- * Revision 1.5 2005/03/05 11:19:20 chris
- * Removed superfluous synchronization.
- *
- * Revision 1.4 2005/03/04 11:26:33 chris
- * Refactored to use central actor information.
- * Collections: Minor code improvements.
- * SmutManager: Implemented load/save.
- *
- * Revision 1.3 2005/03/03 18:23:47 chris
- * Improved source code quality.
- * Corrected some regular expressions.
- * Added handling for events and text.
- *
- * Revision 1.2 2005/03/01 10:04:27 chris
- * Centralized load/save exception handling.
- *
- * Revision 1.1 2005/03/01 09:14:02 chris
- * First import to version control.
- *
- */
Modified: trunk/src/net/sf/cherbot/MailManager.java
===================================================================
--- trunk/src/net/sf/cherbot/MailManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/MailManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -22,7 +22,6 @@
/**
* Mail Manager.
* @author $Author: chris $
- * @version $Id: MailManager.java,v 1.17 2005/11/09 20:30:00 chris Exp $
*/
@Manager.Description("This manager allows players to leave a message for other players.")
@Manager.Features({
@@ -32,11 +31,6 @@
public class MailManager extends Manager {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.17 $";
-
- /**
* Date formattter.
*/
private DateFormat dateFormat = DateFormat.getDateTimeInstance(DEFAULT, DEFAULT, ENGLISH);
@@ -44,7 +38,6 @@
/**
* Mail.
* @author $Author: chris $
- * @version $Revision: 1.17 $
*/
private class Mail implements Comparable<Mail> {
@@ -401,63 +394,3 @@
} // IO Modules
} // class MailManager
-
-/*
- * $Log: MailManager.java,v $
- * Revision 1.17 2005/11/09 20:30:00 chris
- * Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
- *
- * Revision 1.16 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.15 2005/08/29 15:45:39 chris
- * Some minor improvements.
- *
- * Revision 1.14 2005/05/01 14:26:51 chris
- * Fixed bug with read mail in save file.
- *
- * Revision 1.13 2005/04/26 10:50:38 chris
- * unread mail.
- *
- * Revision 1.12 2005/04/01 11:36:23 chris
- * Removed unused boundaries from regexps.
- *
- * Revision 1.11 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.10 2005/03/30 22:17:01 chris
- * Delete all mail, tell correct nr when deleting.
- *
- * Revision 1.9 2005/03/25 14:26:52 chris
- * Improved deletion response.
- *
- * Revision 1.8 2005/03/25 10:29:43 chris
- * Improved commands, added generic mail feature.
- *
- * Revision 1.7 2005/03/23 12:46:32 chris
- * Improved regex handling.
- *
- * Revision 1.6 2005/03/19 12:33:09 chris
- * Improved commands.
- * Removed superfluous old code.
- * Added Mail documentation.
- *
- * Revision 1.5 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.4 2005/03/15 22:41:26 chris
- * Improved regexes.
- *
- * Revision 1.3 2005/03/15 01:55:43 chris
- * Refactored matcher, fixed null vs. Blacklist bug.
- *
- * Revision 1.2 2005/03/14 16:55:18 chris
- * Added public method for sending mail.
- *
- * Revision 1.1 2005/03/14 03:06:03 chris
- * Added.
- *
- */
Modified: trunk/src/net/sf/cherbot/Manager.java
===================================================================
--- trunk/src/net/sf/cherbot/Manager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/Manager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -55,7 +55,6 @@
* the bot's task to synchronize access to Managers for these Threads. Also, that's the reason why it's possible to globally know who the current actor
* is.
* @author $Author: chris $
- * @version $Id: Manager.java,v 1.28 2005/11/15 20:50:07 chris Exp $
* @todo move some Permission handling to this class to make it possible to list the permissions supported by the manager and to warn on unknown
* permissions in CherBotSecurityManager
*/
@@ -524,7 +523,6 @@
* It is basically a regular expression, a method ({@link Command#perform(String)} that checks for the regular expression and invokes another
* method ({@link Command#performImpl()}) if the regular expression matches.
* @author $Author: chris $
- * @version $Id: Manager.java,v 1.28 2005/11/15 20:50:07 chris Exp $
* @todo eventually move permission handling here, that would probably be more secure and it would be more informative because a centralized
* interface for querying the required permissions would be available.
* Note: a single Command instance is <em>not thread-safe</em>.
@@ -669,7 +667,6 @@
/**
* An Loader module.
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
public abstract class IOModule {
@@ -700,7 +697,6 @@
/**
* A Text file loader / saver module.
* @author $Author: chris $
- * @version $Revision: 1.28 $
* @todo think about making three classes out of this: add two inner classes for not mixing up load and save.
*/
public abstract class AbstractTextIOModule<Data> extends IOModule implements Iterable<Data> {
@@ -799,7 +795,6 @@
/**
* Class for IO using text.
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
protected abstract class TextIOModule extends AbstractTextIOModule<String> {
@@ -844,7 +839,6 @@
/**
* Iterator for reading input lines.
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
private class ReadIterator implements Iterator<String> {
@@ -912,7 +906,6 @@
/**
* Class for IO using regular expression patterns.
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
protected abstract class RegexIOModule extends AbstractTextIOModule<Matcher> {
@@ -969,7 +962,6 @@
/**
* Iterator for matching input lines.
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
private class MatcherIterator implements Iterator<Matcher> {
@@ -1041,7 +1033,6 @@
/**
* IOModule for loading / saving a collection.
* @author $Author: chris $
- * @version $Version$
*/
protected final class CollectionIOModule extends TextIOModule {
@@ -1094,7 +1085,6 @@
/**
* Converter used by MapIOMOdule.
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
protected static abstract class Converter<ValueType> {
@@ -1182,7 +1172,6 @@
/**
* Converter for Enums.
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
protected static class EnumConverter<En extends Enum> extends Converter<En> {
@@ -1218,7 +1207,6 @@
/**
* IOModule for loading / saving a Map.
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
protected final class MapIOModule<ValueType> extends RegexIOModule {
@@ -1306,7 +1294,6 @@
* Annotation for Description of Commands.
* Use this annotation to annotate a Command's performImpl method.
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
@Retention(RUNTIME)
@Target({ METHOD, TYPE })
@@ -1325,7 +1312,6 @@
* Annotation for Examples of Commands.
* Use this annotation to annotate a Command's performImpl method.
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
@Retention(RUNTIME)
@Target({ METHOD })
@@ -1343,7 +1329,6 @@
/**
* Annotation to document the permission required to execute a command.
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
@Retention(RUNTIME)
@Target({ METHOD })
@@ -1360,7 +1345,6 @@
/**
* Annotatin to document the features of a module / Manager
* @author $Author: chris $
- * @version $Revision: 1.28 $
*/
@Retention(RUNTIME)
@Target({ TYPE })
@@ -1375,109 +1359,3 @@
} // @interface Features
} // class Manager
-
-/*
- * $Log: Manager.java,v $
- * Revision 1.28 2005/11/15 20:50:07 chris
- * Fixed some behaviour.
- *
- * Revision 1.27 2005/11/09 20:30:00 chris
- * Changed player access to allow players with - in their names. Now all non-whitespace chars are allowed for players.
- *
- * Revision 1.26 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.25 2005/04/02 23:08:43 chris
- * Reworked command pattern creation to allow variables.
- * Reworked commands to use variables.
- * Added alliances to groups.
- * Added group membership listing to groups.
- *
- * Revision 1.24 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.23 2005/03/30 22:17:23 chris
- * new converters, get level.
- *
- * Revision 1.22 2005/03/25 14:26:29 chris
- * Fixed bugs inmail feature, added inform variant.
- *
- * Revision 1.21 2005/03/25 10:24:51 chris
- * Improved inform.
- *
- * Revision 1.20 2005/03/25 10:24:05 chris
- * Implemented mail and inform.
- *
- * Revision 1.19 2005/03/23 12:46:32 chris
- * Improved regex handling.
- *
- * Revision 1.18 2005/03/19 12:32:09 chris
- * Use CharSequences instead of Strings.
- *
- * Revision 1.17 2005/03/18 23:09:49 chris
- * Removed debug message.
- *
- * Revision 1.16 2005/03/18 17:35:42 chris
- * Fixed cocumentation
- *
- * Revision 1.15 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.14 2005/03/15 23:49:25 chris
- * Fixed regular expressions with test results.
- *
- * Revision 1.13 2005/03/15 11:43:25 chris
- * Matcher garbage collection.
- *
- * Revision 1.12 2005/03/15 01:55:43 chris
- * Refactored matcher, fixed null vs. Blacklist bug.
- *
- * Revision 1.11 2005/03/13 12:52:27 chris
- * Added features and module description documentation generation.
- *
- * Revision 1.10 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked code to only shout in 2 particular cases:
- * a) VOTE for Daimonin adds.
- * b) A known criminal enters.
- * Added PollManager.
- * Added ManagerDocumenter.
- * Reworked Exception Handling to integrate CherBotException.
- *
- * Revision 1.9 2005/03/05 20:18:48 chris
- * DummyManagerProxy.java
- *
- * Revision 1.8 2005/03/05 11:19:30 chris
- * Added a TODO.
- *
- * Revision 1.7 2005/03/04 11:35:10 chris
- * Fixed minor documentation bugs.
- *
- * Revision 1.6 2005/03/04 11:26:33 chris
- * Refactored to use central actor information.
- * Collections: Minor code improvements.
- * SmutManager: Implemented load/save.
- *
- * Revision 1.5 2005/03/03 18:23:47 chris
- * Improved source code quality.
- * Corrected some regular expressions.
- * Added handling for events and text.
- *
- * Revision 1.4 2005/03/01 10:58:14 chris
- * Fixed documentation bugs.
- *
- * Revision 1.3 2005/03/01 10:04:27 chris
- * Centralized load/save exception handling.
- *
- * Revision 1.2 2005/03/01 09:51:16 chris
- * Improved documentation.
- *
- * Revision 1.1 2005/03/01 09:14:02 chris
- * First import to version control.
- *
- */
Modified: trunk/src/net/sf/cherbot/ManagerDocumenter.java
===================================================================
--- trunk/src/net/sf/cherbot/ManagerDocumenter.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/ManagerDocumenter.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -17,16 +17,10 @@
/**
* Extracts the documentation from a Manager and writes it to an XML file for further processing.
* @author $Author: chris $
- * @version $Id: ManagerDocumenter.java,v 1.5 2005/08/31 13:55:28 chris Exp $
*/
public class ManagerDocumenter {
/**
- * Version information
- */
- public static final String version = "$Revision: 1.5 $";
-
- /**
* Document.
*/
private static Document doc;
@@ -124,32 +118,3 @@
}
} // class ManagerDocumenter
-
-/*
- * $Log: ManagerDocumenter.java,v $
- * Revision 1.5 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.4 2005/03/15 23:49:25 chris
- * Fixed regular expressions with test results.
- *
- * Revision 1.3 2005/03/15 22:36:40 chris
- * Changed to fit new command method signature.
- *
- * Revision 1.2 2005/03/13 12:52:02 chris
- * Added features and module description documentation generation.
- *
- * Revision 1.1 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked code to only shout in 2 particular cases:
- * a) VOTE for Daimonin adds.
- * b) A known criminal enters.
- * Added PollManager.
- * Added ManagerDocumenter.
- * Reworked Exception Handling to integrate CherBotException.
- *
- */
Modified: trunk/src/net/sf/cherbot/NoSuchPlayerException.java
===================================================================
--- trunk/src/net/sf/cherbot/NoSuchPlayerException.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/NoSuchPlayerException.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -9,7 +9,6 @@
/**
* RuntimeException that is thrown if a player is used but not known to CherBot.
* @author $Author: chris $
- * @version $Id: NoSuchPlayerException.java,v 1.4 2005/08/31 13:55:28 chris Exp $
*/
public class NoSuchPlayerException extends CherBotException {
@@ -42,31 +41,3 @@
}
} // class NoSuchPlayerException
-
-/*
- * $Log: NoSuchPlayerException.java,v $
- * Revision 1.4 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.3 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked code to only shout in 2 particular cases:
- * a) VOTE for Daimonin adds.
- * b) A known criminal enters.
- * Added PollManager.
- * Added ManagerDocumenter.
- * Reworked Exception Handling to integrate CherBotException.
- *
- * Revision 1.2 2005/03/03 18:23:47 chris
- * Improved source code quality.
- * Corrected some regular expressions.
- * Added handling for events and text.
- *
- * Revision 1.1 2005/03/01 22:04:52 chris
- * Added.
- *
- */
Modified: trunk/src/net/sf/cherbot/NoobManager.java
===================================================================
--- trunk/src/net/sf/cherbot/NoobManager.java 2006-10-28 22:47:18 UTC (rev 17)
+++ trunk/src/net/sf/cherbot/NoobManager.java 2006-10-28 22:58:11 UTC (rev 18)
@@ -15,7 +15,6 @@
/**
* Manages some Noob help.
* @author $Author: chris $
- * @version $Id: NoobManager.java,v 1.17 2005/08/31 13:55:28 chris Exp $
*/
@Manager.Description("This module manages some information that's interesting especially for newbies.")
@Manager.Features({
@@ -24,11 +23,6 @@
})
public class NoobManager extends Manager {
- /**
- * Version information
- */
- public static final String version = "$Revision: 1.17 $";
-
private static final String PERM_HOWTO = "Noob.Howto";
/**
@@ -313,77 +307,3 @@
} // IO Modules
} // class NoobManager
-
-/*
- * $Log: NoobManager.java,v $
- * Revision 1.17 2005/08/31 13:55:28 chris
- * Improved code quality.
- * Removed console control feature.
- * Changed member count to reflect only real members.
- *
- * Revision 1.16 2005/04/02 23:08:43 chris
- * Reworked command pattern creation to allow variables.
- * Reworked commands to use variables.
- * Added alliances to groups.
- * Added group membership listing to groups.
- *
- * Revision 1.15 2005/04/01 11:36:23 chris
- * Removed unused boundaries from regexps.
- *
- * Revision 1.14 2005/04/01 11:20:33 chris
- * Added Timemanager, made patterns case insensitive.
- *
- * Revision 1.13 2005/03/25 15:25:17 chris
- * Added determiners to a regexp.
- *
- * Revision 1.12 2005/03/23 12:46:32 chris
- * Improved regex handling.
- *
- * Revision 1.11 2005/03/18 16:53:56 chris
- * Improved some regular expressions.
- * Moved lots of I/O code from subclasses to Manager.java.
- *
- * Revision 1.10 2005/03/15 23:49:25 chris
- * Fixed regular expressions with test results.
- *
- * Revision 1.9 2005/03/15 01:55:43 chris
- * Refactored matcher, fixed null vs. Blacklist bug.
- *
- * Revision 1.8 2005/03/14 03:09:02 chris
- * Added class annotations.
- *
- * Revision 1.7 2005/03/10 21:13:06 chris
- * Improved whereis command.
- * Added where am i command.
- *
- * Revision 1.6 2005/03/09 01:08:23 chris
- * Added annotations to document commands.
- * Improved commands.
- * Unified some regular expressions.
- * Reworked cod...
[truncated message content] |