You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by ma...@apache.org on 2007/09/16 22:21:00 UTC
svn commit: r576167 -
/mina/trunk/example/src/main/java/org/apache/mina/example/httpclient/Wget.java
Author: maarten
Date: Sun Sep 16 13:20:59 2007
New Revision: 576167
URL: http://svn.apache.org/viewvc?rev=576167&view=rev
Log:
fixed package names in javadoc
Modified:
mina/trunk/example/src/main/java/org/apache/mina/example/httpclient/Wget.java
Modified: mina/trunk/example/src/main/java/org/apache/mina/example/httpclient/Wget.java
URL: http://svn.apache.org/viewvc/mina/trunk/example/src/main/java/org/apache/mina/example/httpclient/Wget.java?rev=576167&r1=576166&r2=576167&view=diff
==============================================================================
--- mina/trunk/example/src/main/java/org/apache/mina/example/httpclient/Wget.java (original)
+++ mina/trunk/example/src/main/java/org/apache/mina/example/httpclient/Wget.java Sun Sep 16 13:20:59 2007
@@ -52,7 +52,7 @@
public Wget(URL url) throws Exception {
WgetCallback callback = new WgetCallback();
- String path = null;
+ String path;
if (url.getPath() == null || url.getPath().length() == 0)
path = "/index.html";
else
@@ -91,7 +91,7 @@
/**
* What to do when a response has come from the server
*
- * @see org.apache.mina.http.client.AsyncHttpClientCallback#onResponse(org.apache.mina.filter.codec.http.HttpResponseMessage)
+ * @see org.apache.mina.protocol.http.client.AsyncHttpClientCallback#onResponse(org.apache.mina.filter.codec.http.HttpResponseMessage)
*/
public void onResponse(HttpResponseMessage message) {
this.message = message;
@@ -103,7 +103,7 @@
/**
* What to do when an exception has been thrown
*
- * @see org.apache.mina.http.client.AsyncHttpClientCallback#onException(java.lang.Throwable)
+ * @see org.apache.mina.protocol.http.client.AsyncHttpClientCallback#onException(java.lang.Throwable)
*/
public void onException(Throwable cause) {
throwable = cause;
@@ -117,7 +117,7 @@
* The connection has been closed, notify the semaphore object and set
* closed to true.
*
- * @see org.apache.mina.http.client.AsyncHttpClientCallback#onClosed()
+ * @see org.apache.mina.protocol.http.client.AsyncHttpClientCallback#onClosed()
*/
public void onClosed() {
closed = true;