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
|
@Test
|
||||||
public void testClaimsLeadership() throws Exception {
|
public void testClaimsLeadership() throws Exception {
|
||||||
|
|
|
@ -114,9 +114,7 @@ public final class InteractiveShell implements AutoCloseable {
|
||||||
handler.run(Optional.of(this), terminal.writer(), nodeManager);
|
handler.run(Optional.of(this), terminal.writer(), nodeManager);
|
||||||
terminal.writer().flush();
|
terminal.writer().flush();
|
||||||
} catch (UserInterruptException eof) {
|
} catch (UserInterruptException eof) {
|
||||||
// Handle ths user pressing Control-C.
|
// Handle the user pressing control-C.
|
||||||
// TODO: how can we print this on the same line as the prompt like
|
|
||||||
// bash does?
|
|
||||||
terminal.writer().println("^C");
|
terminal.writer().println("^C");
|
||||||
} catch (EndOfFileException eof) {
|
} catch (EndOfFileException eof) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue