diff --git a/src/main/java/org/jboss/netty/channel/socket/http/package-info.java b/src/main/java/org/jboss/netty/channel/socket/http/package-info.java index 59d0d7ce81..ad37454041 100644 --- a/src/main/java/org/jboss/netty/channel/socket/http/package-info.java +++ b/src/main/java/org/jboss/netty/channel/socket/http/package-info.java @@ -102,14 +102,15 @@ * *
  * ClientBootstrap b = new ClientBootstrap(
- *         new HttpTunnelingClientSocketChannelFactory(new NioClientSocketChannelFactory(...)));
+ *         new HttpTunnelingClientSocketChannelFactory(
+ *                 new NioClientSocketChannelFactory(...)));
  *
  * // Configure the pipeline (or pipeline factory) here.
  * ...
  *
- * // The host name of the HTTP server.
+ * // The host name of the HTTP server
  * b.setOption("serverName", "example.com");
- * // The path to the HTTP tunneling Servlet (set to /netty-tunnel in web.xml)
+ * // The path to the HTTP tunneling Servlet, which was specified in in web.xml
  * b.setOption("serverPath", "contextPath/netty-tunnel");
  * b.connect(new InetSocketAddress("example.com", 80);
  *