fix comments

This commit is contained in:
Colin P. Mccabe 2021-02-11 09:53:36 -08:00
parent f8f5d0df60
commit ec2f7e27df
2 changed files with 2 additions and 4 deletions

View File

@ -52,7 +52,7 @@ public class LocalLogManagerTest {
}
/**
* Test that the local log maanger will claim leadership.
* Test that the local log manager will claim leadership.
*/
@Test
public void testClaimsLeadership() throws Exception {

View File

@ -114,9 +114,7 @@ public final class InteractiveShell implements AutoCloseable {
handler.run(Optional.of(this), terminal.writer(), nodeManager);
terminal.writer().flush();
} catch (UserInterruptException eof) {
// Handle ths user pressing Control-C.
// TODO: how can we print this on the same line as the prompt like
// bash does?
// Handle the user pressing control-C.
terminal.writer().println("^C");
} catch (EndOfFileException eof) {
return;