Skip to content

Commit

Permalink
Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed Nov 25, 2015
1 parent a5f3977 commit 7d59e3b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion src/main/java/io/vertx/ext/shell/term/TermServer.java
Expand Up @@ -150,7 +150,7 @@ static TermServer createHttpTermServer(Vertx vertx, Router router, HttpTermOptio
TermServer termHandler(Handler<Term> handler);

/**
* Set the connection handler that will receive incoming client connections. When aremote temrinal connects
* Set the connection handler that will receive incoming client connections. When a remote terminal connects
* the {@code handler} will be called with the {@code TtyConnection} which can be used to interact with the
* remote terminal.
*
Expand Down
Expand Up @@ -141,7 +141,6 @@ public TermServer listen(Handler<AsyncResult<TermServer>> listenHandler) {
router.get("/shell.html").handler(ctx -> ctx.response().putHeader("Content-Type", "text/html").end(options.getShellHtmlResource()));
}

//
if (createServer) {
server = vertx.createHttpServer(options);
server.requestHandler(router::accept);
Expand Down
15 changes: 0 additions & 15 deletions src/test/java/io/vertx/ext/shell/term/HttpTermServerTest.java
Expand Up @@ -13,21 +13,6 @@
*
* You may elect to redistribute this code under either of these licenses.
*
*
* Copyright (c) 2015 The original author or authors
* ------------------------------------------------------
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
*
* The Eclipse Public License is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* The Apache License v2.0 is available at
* http://www.opensource.org/licenses/apache2.0.php
*
* You may elect to redistribute this code under either of these licenses.
*
*/

package io.vertx.ext.shell.term;
Expand Down

0 comments on commit 7d59e3b

Please sign in to comment.