File tree 3 files changed +5
-5
lines changed
jansi/src/main/java/org/fusesource/jansi
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -101,10 +101,10 @@ public synchronized void write(int data) throws IOException { // expected diff w
101
101
} else if (data == SECOND_OSC_CHAR ) {
102
102
state = LOOKING_FOR_OSC_COMMAND ;
103
103
} else if (data == SECOND_CHARSET0_CHAR ) {
104
- options .add (Integer . valueOf ( 0 ) );
104
+ options .add (0 );
105
105
state = LOOKING_FOR_CHARSET ;
106
106
} else if (data == SECOND_CHARSET1_CHAR ) {
107
- options .add (Integer . valueOf ( 1 ) );
107
+ options .add (1 );
108
108
state = LOOKING_FOR_CHARSET ;
109
109
} else {
110
110
reset (false );
@@ -210,7 +210,7 @@ public synchronized void write(int data) throws IOException { // expected diff w
210
210
break ;
211
211
212
212
case LOOKING_FOR_CHARSET :
213
- options .add (Character . valueOf (( char ) data ) );
213
+ options .add (( char ) data );
214
214
reset (ap .processCharsetSelect (options ));
215
215
break ;
216
216
}
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ protected synchronized boolean filter(int data) { // expected diff with AnsiOutp
202
202
break ;
203
203
204
204
case LOOKING_FOR_CHARSET :
205
- options .add (Character . valueOf (( char ) data ) );
205
+ options .add (( char ) data );
206
206
reset (ap .processCharsetSelect (options ));
207
207
break ;
208
208
}
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ protected boolean processOperatingSystemCommand(ArrayList<Object> options) { //
242
242
*/
243
243
protected boolean processCharsetSelect (ArrayList <Object > options ) {
244
244
int set = optionInt (options , 0 );
245
- char seq = (( Character ) options .get (1 )). charValue ( );
245
+ char seq = (Character ) options .get (1 );
246
246
processCharsetSelect (set , seq );
247
247
return true ;
248
248
}
You can’t perform that action at this time.
0 commit comments