Skip to content

Commit 8e91c99

Browse files
dependabot[bot]Guillaume Nodet
andauthored
chore: Bump com.palantir.javaformat:palantir-java-format from 2.38.0 to 2.67.0 (#1288)
* chore: Bump com.palantir.javaformat:palantir-java-format Bumps [com.palantir.javaformat:palantir-java-format](https://github.com/palantir/palantir-java-format) from 2.38.0 to 2.67.0. - [Release notes](https://github.com/palantir/palantir-java-format/releases) - [Changelog](https://github.com/palantir/palantir-java-format/blob/develop/.changelog.yml) - [Commits](palantir/palantir-java-format@2.38.0...2.67.0) --- updated-dependencies: - dependency-name: com.palantir.javaformat:palantir-java-format dependency-version: 2.67.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Fix code style after palantir upgrade --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Guillaume Nodet <[email protected]>
1 parent 80e05df commit 8e91c99

File tree

9 files changed

+76
-76
lines changed

9 files changed

+76
-76
lines changed

builtins/src/main/java/org/jline/builtins/ScreenTerminal.java

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -541,18 +541,18 @@ private void vt100_setmode(String p, boolean state) {
541541
// Insertion replacement mode
542542
vt100_mode_insert = state;
543543
break;
544-
// 5 : SRTM: Status reporting transfer
545-
// 7 : VEM: Vertical editing
546-
// 10 : HEM: Horizontal editing
547-
// 11 : PUM: Positioning nit
548-
// 12 : SRM: Send/receive
549-
// 13 : FEAM: Format effector action
550-
// 14 : FETM: Format effector transfer
551-
// 15 : MATM: Multiple area transfer
552-
// 16 : TTM: Transfer termination
553-
// 17 : SATM: Selected area transfer
554-
// 18 : TSM: Tabulation stop
555-
// 19 : EBM: Editing boundary
544+
// 5 : SRTM: Status reporting transfer
545+
// 7 : VEM: Vertical editing
546+
// 10 : HEM: Horizontal editing
547+
// 11 : PUM: Positioning nit
548+
// 12 : SRM: Send/receive
549+
// 13 : FEAM: Format effector action
550+
// 14 : FETM: Format effector transfer
551+
// 15 : MATM: Multiple area transfer
552+
// 16 : TTM: Transfer termination
553+
// 17 : SATM: Selected area transfer
554+
// 18 : TSM: Tabulation stop
555+
// 19 : EBM: Editing boundary
556556
case "20":
557557
// LNM: Line feed/new line
558558
vt100_mode_lfnewline = state;
@@ -561,7 +561,7 @@ private void vt100_setmode(String p, boolean state) {
561561
// DECCKM: Cursor keys
562562
vt100_mode_cursorkey = state;
563563
break;
564-
// ?2 : DECANM: ANSI
564+
// ?2 : DECANM: ANSI
565565
case "?3":
566566
// DECCOLM: Column
567567
if (vt100_mode_column_switch) {
@@ -573,7 +573,7 @@ private void vt100_setmode(String p, boolean state) {
573573
reset_screen();
574574
}
575575
break;
576-
// ?4 : DECSCLM: Scrolling
576+
// ?4 : DECSCLM: Scrolling
577577
case "?5":
578578
// DECSCNM: Screen
579579
vt100_mode_inverse = state;
@@ -591,22 +591,22 @@ private void vt100_setmode(String p, boolean state) {
591591
// DECAWM: Autowrap
592592
vt100_mode_autowrap = state;
593593
break;
594-
// ?8 : DECARM: Autorepeat
595-
// ?9 : Interlacing
596-
// ?18 : DECPFF: Print form feed
597-
// ?19 : DECPEX: Printer extent
594+
// ?8 : DECARM: Autorepeat
595+
// ?9 : Interlacing
596+
// ?18 : DECPFF: Print form feed
597+
// ?19 : DECPEX: Printer extent
598598
case "?25":
599599
// DECTCEM: Text cursor enable
600600
vt100_mode_cursor = state;
601601
break;
602-
// ?34 : DECRLM: Cursor direction, right to left
603-
// ?35 : DECHEBM: Hebrew keyboard mapping
604-
// ?36 : DECHEM: Hebrew encoding mode
602+
// ?34 : DECRLM: Cursor direction, right to left
603+
// ?35 : DECHEBM: Hebrew keyboard mapping
604+
// ?36 : DECHEM: Hebrew encoding mode
605605
case "?40":
606606
// Column switch control
607607
vt100_mode_column_switch = state;
608608
break;
609-
// ?42 : DECNRCM: National replacement character set
609+
// ?42 : DECNRCM: National replacement character set
610610
case "?1049":
611611
// Alternate screen mode
612612
if ((state && !vt100_mode_alt_screen) || (!state && vt100_mode_alt_screen)) {
@@ -626,7 +626,7 @@ private void vt100_setmode(String p, boolean state) {
626626
}
627627
vt100_mode_alt_screen = state;
628628
break;
629-
// ?57 : DECNAKB: Greek keyboard mapping
629+
// ?57 : DECNAKB: Greek keyboard mapping
630630
case "?67":
631631
// DECBKM: Backarrow key
632632
vt100_mode_backspace = state;

builtins/src/test/java/org/jline/example/Example.java

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -214,20 +214,20 @@ public static void main(String[] args) throws IOException {
214214

215215
for (int index = 0; index < args.length; index++) {
216216
switch (args[index]) {
217-
/* SANDBOX JANSI
218-
case "-posix":
219-
builder.posix(false);
220-
break;
221-
case "+posix":
222-
builder.posix(true);
223-
break;
224-
case "-native-pty":
225-
builder.nativePty(false);
226-
break;
227-
case "+native-pty":
228-
builder.nativePty(true);
229-
break;
230-
*/
217+
/* SANDBOX JANSI
218+
case "-posix":
219+
builder.posix(false);
220+
break;
221+
case "+posix":
222+
builder.posix(true);
223+
break;
224+
case "-native-pty":
225+
builder.nativePty(false);
226+
break;
227+
case "+native-pty":
228+
builder.nativePty(true);
229+
break;
230+
*/
231231
case "timer":
232232
timer = true;
233233
break;

console/src/main/java/org/jline/console/impl/SystemRegistryImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ private String unescape(String arg) {
10701070
case ' ':
10711071
ch = ' ';
10721072
break;
1073-
// Hex Unicode: u????
1073+
// Hex Unicode: u????
10741074
case 'u':
10751075
if (i >= arg.length() - 5) {
10761076
ch = 'u';

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
<ivy.version>2.5.3</ivy.version>
122122
<graal.version>24.2.1</graal.version>
123123
<graal.plugin.version>21.2.0</graal.plugin.version>
124-
<palantir.version>2.38.0</palantir.version>
124+
<palantir.version>2.67.0</palantir.version>
125125

126126
<surefire.argLine>--add-opens java.base/java.io=ALL-UNNAMED</surefire.argLine>
127127
</properties>

reader/src/main/java/org/jline/reader/impl/DefaultExpander.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public String expandHistory(History history, String line) {
125125
case '-':
126126
neg = true;
127127
i++;
128-
// fall through
128+
// fall through
129129
case '0':
130130
case '1':
131131
case '2':

remote-ssh/src/main/java/org/jline/builtins/ssh/ShellFactoryImpl.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,14 @@ public void run(ChannelSession session, Environment env) {
133133
case VLNEXT:
134134
attributes.setControlChar(ControlChar.VLNEXT, e.getValue());
135135
break;
136-
/*
137-
case VFLUSH:
138-
attr.setControlChar(ControlChar.VMIN, e.getValue());
139-
break;
140-
case VSWTCH:
141-
attr.setControlChar(ControlChar.VTIME, e.getValue());
142-
break;
143-
*/
136+
/*
137+
case VFLUSH:
138+
attr.setControlChar(ControlChar.VMIN, e.getValue());
139+
break;
140+
case VSWTCH:
141+
attr.setControlChar(ControlChar.VTIME, e.getValue());
142+
break;
143+
*/
144144
case VSTATUS:
145145
attributes.setControlChar(ControlChar.VSTATUS, e.getValue());
146146
break;

remote-telnet/src/main/java/org/jline/builtins/telnet/TelnetIO.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ private boolean parseTWO(int[] buf) {
784784
*/
785785
private void parse(int[] buf) throws IOException {
786786
switch (buf[0]) {
787-
/* First switch on the Negotiation Option */
787+
/* First switch on the Negotiation Option */
788788
case WILL:
789789
if (supported(buf[1]) && isEnabled(buf[1])) {
790790
; // do nothing
@@ -840,7 +840,7 @@ private void parse(int[] buf) throws IOException {
840840
}
841841
break;
842842

843-
/* Now about other two byte IACs */
843+
/* Now about other two byte IACs */
844844
case DM: // How do I implement a SYNCH signal?
845845
break;
846846
case SB: // handle subnegotiations

terminal/src/main/java/org/jline/utils/Curses.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ private static void doTputs(Appendable out, String str, Object... params) throws
121121
case 'n':
122122
out.append('\n');
123123
break;
124-
// case 'l':
125-
// rawPrint('\l');
126-
// break;
124+
// case 'l':
125+
// rawPrint('\l');
126+
// break;
127127
case 'r':
128128
if (exec) {
129129
out.append('\r');

terminal/src/test/java/org/jline/utils/ScreenTerminal.java

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -496,18 +496,18 @@ private void vt100_setmode(String p, boolean state) {
496496
// Insertion replacement mode
497497
vt100_mode_insert = state;
498498
break;
499-
// 5 : SRTM: Status reporting transfer
500-
// 7 : VEM: Vertical editing
501-
// 10 : HEM: Horizontal editing
502-
// 11 : PUM: Positioning nit
503-
// 12 : SRM: Send/receive
504-
// 13 : FEAM: Format effector action
505-
// 14 : FETM: Format effector transfer
506-
// 15 : MATM: Multiple area transfer
507-
// 16 : TTM: Transfer termination
508-
// 17 : SATM: Selected area transfer
509-
// 18 : TSM: Tabulation stop
510-
// 19 : EBM: Editing boundary
499+
// 5 : SRTM: Status reporting transfer
500+
// 7 : VEM: Vertical editing
501+
// 10 : HEM: Horizontal editing
502+
// 11 : PUM: Positioning nit
503+
// 12 : SRM: Send/receive
504+
// 13 : FEAM: Format effector action
505+
// 14 : FETM: Format effector transfer
506+
// 15 : MATM: Multiple area transfer
507+
// 16 : TTM: Transfer termination
508+
// 17 : SATM: Selected area transfer
509+
// 18 : TSM: Tabulation stop
510+
// 19 : EBM: Editing boundary
511511
case "20":
512512
// LNM: Line feed/new line
513513
vt100_mode_lfnewline = state;
@@ -516,7 +516,7 @@ private void vt100_setmode(String p, boolean state) {
516516
// DECCKM: Cursor keys
517517
vt100_mode_cursorkey = state;
518518
break;
519-
// ?2 : DECANM: ANSI
519+
// ?2 : DECANM: ANSI
520520
case "?3":
521521
// DECCOLM: Column
522522
if (vt100_mode_column_switch) {
@@ -528,7 +528,7 @@ private void vt100_setmode(String p, boolean state) {
528528
reset_screen();
529529
}
530530
break;
531-
// ?4 : DECSCLM: Scrolling
531+
// ?4 : DECSCLM: Scrolling
532532
case "?5":
533533
// DECSCNM: Screen
534534
vt100_mode_inverse = state;
@@ -546,22 +546,22 @@ private void vt100_setmode(String p, boolean state) {
546546
// DECAWM: Autowrap
547547
vt100_mode_autowrap = state;
548548
break;
549-
// ?8 : DECARM: Autorepeat
550-
// ?9 : Interlacing
551-
// ?18 : DECPFF: Print form feed
552-
// ?19 : DECPEX: Printer extent
549+
// ?8 : DECARM: Autorepeat
550+
// ?9 : Interlacing
551+
// ?18 : DECPFF: Print form feed
552+
// ?19 : DECPEX: Printer extent
553553
case "?25":
554554
// DECTCEM: Text cursor enable
555555
vt100_mode_cursor = state;
556556
break;
557-
// ?34 : DECRLM: Cursor direction, right to left
558-
// ?35 : DECHEBM: Hebrew keyboard mapping
559-
// ?36 : DECHEM: Hebrew encoding mode
557+
// ?34 : DECRLM: Cursor direction, right to left
558+
// ?35 : DECHEBM: Hebrew keyboard mapping
559+
// ?36 : DECHEM: Hebrew encoding mode
560560
case "?40":
561561
// Column switch control
562562
vt100_mode_column_switch = state;
563563
break;
564-
// ?42 : DECNRCM: National replacement character set
564+
// ?42 : DECNRCM: National replacement character set
565565
case "?1049":
566566
// Alternate screen mode
567567
if ((state && !vt100_mode_alt_screen) || (!state && vt100_mode_alt_screen)) {
@@ -581,7 +581,7 @@ private void vt100_setmode(String p, boolean state) {
581581
}
582582
vt100_mode_alt_screen = state;
583583
break;
584-
// ?57 : DECNAKB: Greek keyboard mapping
584+
// ?57 : DECNAKB: Greek keyboard mapping
585585
case "?67":
586586
// DECBKM: Backarrow key
587587
vt100_mode_backspace = state;

0 commit comments

Comments
 (0)