Author: norman
Date: Thu Sep 22 12:38:47 2011
New Revision: 1174093
URL: http://svn.apache.org/viewvc?rev=1174093&view=rev
Log:
Remove setters from the interface. The setters should only be present in the
impls
Modified:
james/protocols/trunk/api/src/main/java/org/apache/james/protocols/api/Response.java
Modified:
james/protocols/trunk/api/src/main/java/org/apache/james/protocols/api/Response.java
URL:
http://svn.apache.org/viewvc/james/protocols/trunk/api/src/main/java/org/apache/james/protocols/api/Response.java?rev=1174093&r1=1174092&r2=1174093&view=diff
==============================================================================
---
james/protocols/trunk/api/src/main/java/org/apache/james/protocols/api/Response.java
(original)
+++
james/protocols/trunk/api/src/main/java/org/apache/james/protocols/api/Response.java
Thu Sep 22 12:38:47 2011
@@ -33,20 +33,6 @@ public interface Response {
*/
String getRetCode();
-
- /**
- * Set the return-code used for this response
- *
- * @param retCode
- */
- void setRetCode(String retCode);
-
- /**
- * Append line to response
- *
- * @param line
- */
- void appendLine(CharSequence line);
/**
* Return a List of all response lines stored in this Response
@@ -68,11 +54,5 @@ public interface Response {
* @return true if session is ended
*/
boolean isEndSession();
- /**
- * Set to true to end the session
- *
- * @param endSession
- */
- void setEndSession(boolean endSession);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]