Remove trailing whitespace

This commit is contained in:
Trustin Lee 2012-06-08 11:14:47 +09:00
parent 8970ee751c
commit 493e77a5a7
7 changed files with 21 additions and 25 deletions

View File

@ -15,28 +15,28 @@
*/
/**
* This package is intended for use with testing against the Python
* This package is intended for use with testing against the Python
* <a href="http://www.tavendo.de/autobahn/testsuite.html">AutoBahn test suite</a>.
*
* <h3>How to run the tests on Ubuntu</h3>
*
*
* <p>01. Add <tt>ppa:twisted-dev/ppa</tt> to your system's Software Sources
*
*
* <p>02. Install Twisted V11: <tt>sudo apt-get install python-twisted</tt>
*
*
* <p>03. Intall Python Setup Tools: <tt>sudo apt-get install python-setuptools</tt>
*
*
* <p>04. Install AutoBahn: <tt>sudo easy_install Autobahn</tt>. If you already have Autobahn installed, you may need
* to upgrade it: <tt>sudo easy_install --upgrade Autobahn</tt>. Make suer v0.4.10 is installed.
*
*
* <p>05. Get AutoBahn testsuite source code: <tt>git clone git@github.com:tavendo/AutobahnPython.git</tt>
*
*
* <p>06. Go to AutoBahn directory: <tt>cd AutobahnPython</tt>
*
*
* <p>07. Checkout stable version: <tt>git checkout v0.4.10</tt>
*
*
* <p>08. Go to test suite directory: <tt>cd testsuite/websockets</tt>
*
*
* <p>09. Edit <tt>fuzzing_clinet_spec.json</tt> and set the hybi specification version to 10 or 17 (RFC 6455).
* <code>
* {
@ -47,14 +47,14 @@
* "exclude-agent-cases": {"FoobarServer*": ["4.*", "1.1.3"]}
* }
* </code>
*
* <p>10. Run our <tt>AutobahnServer</tt> located in this package. If you are in Eclipse IDE, right click on
*
* <p>10. Run our <tt>AutobahnServer</tt> located in this package. If you are in Eclipse IDE, right click on
* <tt>AutobahnServer.java</tt> and select Run As > Java Application.
*
* <p>11. Run the Autobahn test <tt>python fuzzing_client.py</tt>. Note that the actual test case python code is
*
* <p>11. Run the Autobahn test <tt>python fuzzing_client.py</tt>. Note that the actual test case python code is
* located with the easy_install package (e.g. in <tt>/usr/local/lib/python2.7/dist-packages/
* autobahn-0.4.10-py2.7.egg/autobahn/cases</tt>) and not in the checked out git repository.
*
*
* <p>12. See the results in <tt>reports/servers/index.html</tt>
*/
package io.netty.example.http.websocketx.autobahn;

View File

@ -21,4 +21,3 @@
* then {@link io.netty.example.http.websocketx.client.WebSocketClient}.
*/
package io.netty.example.http.websocketx.client;

View File

@ -16,12 +16,11 @@
/**
* <p>This package contains an example web socket web server.
* <p>The web server only handles text, ping and closing frames. For text frames,
* <p>The web server only handles text, ping and closing frames. For text frames,
* it echoes the received text in upper case.
* <p>Once started, you can test the web server against your browser by navigating
* <p>Once started, you can test the web server against your browser by navigating
* to http://localhost:8080/
* <p>You can also test it with a web socket client. Send web socket traffic to
* ws://localhost:8080/websocket.
* <p>You can also test it with a web socket client. Send web socket traffic to
* ws://localhost:8080/websocket.
*/
package io.netty.example.http.websocketx.server;

View File

@ -44,7 +44,7 @@ public final class WebSocketSslServerSslContext {
/**
* SingletonHolder is loaded on the first execution of Singleton.getInstance() or the first access to
* SingletonHolder.INSTANCE, not before.
*
*
* See http://en.wikipedia.org/wiki/Singleton_pattern
*/
private static class SingletonHolder {

View File

@ -33,4 +33,3 @@
* <a href="http://download.oracle.com/javase/6/docs/technotes/guides/security/jsse/JSSERefGuide.html">giude</a>.
*/
package io.netty.example.http.websocketx.sslserver;

View File

@ -30,7 +30,7 @@ public class TelnetServerPipelineFactory extends ChannelInitializer<SocketChanne
private static final StringDecoder DECODER = new StringDecoder();
private static final StringEncoder ENCODER = new StringEncoder();
private static final TelnetServerHandler SERVERHANDLER = new TelnetServerHandler();
@Override
public void initChannel(SocketChannel ch) throws Exception {
ChannelPipeline pipeline = ch.pipeline();

View File

@ -72,6 +72,5 @@ public class ChannelFutureAggregator implements ChannelFutureListener {
}
}
}
}