james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r1215163 - in /james/protocols/trunk/api/src/main/java/org/apache/james/protocols/api: FutureStreamResponseImpl.java StartTlsFutureResponse.java
Date Fri, 16 Dec 2011 14:52:16 GMT
Author: norman
Date: Fri Dec 16 14:52:16 2011
New Revision: 1215163

URL: http://svn.apache.org/viewvc?rev=1215163&view=rev
Log:
Only some small javadoc updates

Modified:
    james/protocols/trunk/api/src/main/java/org/apache/james/protocols/api/FutureStreamResponseImpl.java
    james/protocols/trunk/api/src/main/java/org/apache/james/protocols/api/StartTlsFutureResponse.java

Modified: james/protocols/trunk/api/src/main/java/org/apache/james/protocols/api/FutureStreamResponseImpl.java
URL: http://svn.apache.org/viewvc/james/protocols/trunk/api/src/main/java/org/apache/james/protocols/api/FutureStreamResponseImpl.java?rev=1215163&r1=1215162&r2=1215163&view=diff
==============================================================================
--- james/protocols/trunk/api/src/main/java/org/apache/james/protocols/api/FutureStreamResponseImpl.java
(original)
+++ james/protocols/trunk/api/src/main/java/org/apache/james/protocols/api/FutureStreamResponseImpl.java
Fri Dec 16 14:52:16 2011
@@ -23,6 +23,10 @@ import java.io.InputStream;
 
 public class FutureStreamResponseImpl extends FutureResponseImpl implements StreamResponse{
 
+    /**
+     * Set the {@link StreamResponse} to wrap. If a non {@link StreamResponse} is set this
implementation will throw an {@link IllegalArgumentException}
+     * 
+     */
     @Override
     public void setResponse(Response response) {
         if (response instanceof StreamResponse) {

Modified: james/protocols/trunk/api/src/main/java/org/apache/james/protocols/api/StartTlsFutureResponse.java
URL: http://svn.apache.org/viewvc/james/protocols/trunk/api/src/main/java/org/apache/james/protocols/api/StartTlsFutureResponse.java?rev=1215163&r1=1215162&r2=1215163&view=diff
==============================================================================
--- james/protocols/trunk/api/src/main/java/org/apache/james/protocols/api/StartTlsFutureResponse.java
(original)
+++ james/protocols/trunk/api/src/main/java/org/apache/james/protocols/api/StartTlsFutureResponse.java
Fri Dec 16 14:52:16 2011
@@ -22,6 +22,10 @@ package org.apache.james.protocols.api;
 public class StartTlsFutureResponse extends FutureResponseImpl implements StartTlsResponse{
 
 
+    /**
+     * Set the {@link StartTlsResponse} to wrap. If a non {@link StartTlsResponse} is set
this implementation will throw an {@link IllegalArgumentException}
+     * 
+     */
     @Override
     public void setResponse(Response response) {
         if (response instanceof StartTlsResponse) {



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message