@@ -257,29 +257,31 @@ public static String[] listComPorts() {
257
257
return outgoing ;
258
258
}
259
259
260
+ @ SuppressWarnings ("nls" )
260
261
public static String [] listBaudRates () {
261
- String outgoing [] = { "921600" , "460800" , "230400" , "115200" , "57600" , "38400" , "31250" , "28800" , "19200" , //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$//$NON-NLS-4$//$NON-NLS-5$//$NON-NLS-6$//$NON-NLS-7$ //$NON-NLS-8$ //$NON-NLS-9$
262
- "14400" , "9600" , "4800" , "2400" , //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
263
- "1200" , "300" }; //$NON-NLS-1$ //$NON-NLS-2$
262
+ String outgoing [] = { "230400" , "250000" , "921600" , "460800" , "230400" , "115200" , "57600" , "38400" , "31250" ,
263
+ "28800" , "19200" , "14400" , "9600" , "4800" , "2400" , "1200" , "300" };
264
264
return outgoing ;
265
265
}
266
266
267
+ @ SuppressWarnings ("nls" )
267
268
public static String [] listLineEndings () {
268
- String outgoing [] = { "none" , "CR" , "NL" , "CR/NL" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
269
+ String outgoing [] = { "none" , "CR" , "NL" , "CR/NL" };
269
270
return outgoing ;
270
271
}
271
272
273
+ @ SuppressWarnings ("nls" )
272
274
public static String getLineEnding (int selectionIndex ) {
273
275
switch (selectionIndex ) {
274
276
default :
275
277
case 0 :
276
278
return EMPTY_STRING ;
277
279
case 1 :
278
- return "\r " ; //$NON-NLS-1$
280
+ return "\r " ;
279
281
case 2 :
280
- return "\n " ; //$NON-NLS-1$
282
+ return "\n " ;
281
283
case 3 :
282
- return "\r \n " ; //$NON-NLS-1$
284
+ return "\r \n " ;
283
285
}
284
286
}
285
287
0 commit comments