mirror of https://github.com/apache/kafka.git
fix comments
This commit is contained in:
parent
f8f5d0df60
commit
ec2f7e27df
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue