mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-24 21:30:08 +00:00
mvnd-common targets JDK 8, so remove JDK 11 specifics
This commit is contained in:
@@ -190,7 +190,7 @@ public class TerminalOutput implements ClientOutput {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (c == '+' || c == '-' || c == CTRL_L || c == CTRL_M) {
|
if (c == '+' || c == '-' || c == CTRL_L || c == CTRL_M) {
|
||||||
queue.add(new Event(EventType.INPUT, null, Character.toString(c)));
|
queue.add(new Event(EventType.INPUT, null, Character.toString((char) c)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (InterruptedIOException e) {
|
} catch (InterruptedIOException e) {
|
||||||
@@ -257,7 +257,7 @@ public class TerminalOutput implements ClientOutput {
|
|||||||
linesPerProject = Math.max(0, linesPerProject - 1);
|
linesPerProject = Math.max(0, linesPerProject - 1);
|
||||||
break;
|
break;
|
||||||
case CTRL_L:
|
case CTRL_L:
|
||||||
display.update(List.of(), 0);
|
display.update(Collections.emptyList(), 0);
|
||||||
break;
|
break;
|
||||||
case CTRL_M:
|
case CTRL_M:
|
||||||
displayDone = !displayDone;
|
displayDone = !displayDone;
|
||||||
|
Reference in New Issue
Block a user