You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ba...@apache.org on 2006/04/07 00:20:32 UTC
svn commit: r392093 - in
/james/server/trunk/src/java/org/apache/james/smtpserver: SMTPHandler.java
SMTPSession.java
Author: bago
Date: Thu Apr 6 15:20:27 2006
New Revision: 392093
URL: http://svn.apache.org/viewcvs?rev=392093&view=rev
Log:
Removed unused/duplicate SMTP session state hashmap
Modified:
james/server/trunk/src/java/org/apache/james/smtpserver/SMTPHandler.java
james/server/trunk/src/java/org/apache/james/smtpserver/SMTPSession.java
Modified: james/server/trunk/src/java/org/apache/james/smtpserver/SMTPHandler.java
URL: http://svn.apache.org/viewcvs/james/server/trunk/src/java/org/apache/james/smtpserver/SMTPHandler.java?rev=392093&r1=392092&r2=392093&view=diff
==============================================================================
--- james/server/trunk/src/java/org/apache/james/smtpserver/SMTPHandler.java (original)
+++ james/server/trunk/src/java/org/apache/james/smtpserver/SMTPHandler.java Thu Apr 6 15:20:27 2006
@@ -211,15 +211,6 @@
*/
private StringBuffer responseBuffer = new StringBuffer(256);
-
- /**
- * The per-handler map to store message scope variables
- * the various handlers use this for storing state information
- */
- private HashMap messageState = new HashMap();
-
-
-
/**
* Set the configuration data for the handler
*
@@ -443,9 +434,6 @@
mail = null;
resetState();
- //reset the message scope state
- messageState.clear();
-
// start again with the old helo mode
if (currentHeloMode != null) {
state.put(CURRENT_HELO_MODE,currentHeloMode);
@@ -864,15 +852,6 @@
*/
public void abortMessage() {
mode = MESSAGE_ABORT_MODE;
- }
-
-
-
- /**
- * @see org.apache.james.smtpserver.SMTPSession#getMessageState()
- */
- public HashMap getMessageState() {
- return messageState;
}
Modified: james/server/trunk/src/java/org/apache/james/smtpserver/SMTPSession.java
URL: http://svn.apache.org/viewcvs/james/server/trunk/src/java/org/apache/james/smtpserver/SMTPSession.java?rev=392093&r1=392092&r2=392093&view=diff
==============================================================================
--- james/server/trunk/src/java/org/apache/james/smtpserver/SMTPSession.java (original)
+++ james/server/trunk/src/java/org/apache/james/smtpserver/SMTPSession.java Thu Apr 6 15:20:27 2006
@@ -207,14 +207,5 @@
*/
String getSessionID();
-
- /**
- * Used for storing session scope variables
- *
- * @return map message scope param-values
- */
- HashMap getMessageState();
-
-
}
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org