File tree 7 files changed +5
-12
lines changed
7 files changed +5
-12
lines changed Original file line number Diff line number Diff line change 62
62
import java .util .*;
63
63
import java .util .List ;
64
64
import java .util .Timer ;
65
- import java .util .function .Predicate ;
66
65
import java .util .logging .Handler ;
67
66
import java .util .logging .Level ;
68
67
import java .util .logging .Logger ;
Original file line number Diff line number Diff line change @@ -2592,7 +2592,7 @@ public void handleSerial() {
2592
2592
}
2593
2593
2594
2594
serialMonitor = new MonitorFactory ().newMonitor (port );
2595
- base .setIcon (serialMonitor );
2595
+ Base .setIcon (serialMonitor );
2596
2596
2597
2597
// If currently uploading, disable the monitor (it will be later
2598
2598
// enabled when done uploading)
@@ -2690,7 +2690,7 @@ public void handlePlotter() {
2690
2690
}
2691
2691
2692
2692
serialPlotter = new SerialPlotter (port );
2693
- base .setIcon (serialPlotter );
2693
+ Base .setIcon (serialPlotter );
2694
2694
2695
2695
// If currently uploading, disable the plotter (it will be later
2696
2696
// enabled when done uploading)
Original file line number Diff line number Diff line change 36
36
import processing .app .PreferencesData ;
37
37
import processing .app .debug .MessageConsumer ;
38
38
import processing .app .debug .MessageSiphon ;
39
- import processing .app .debug .RunnerException ;
40
39
import processing .app .helpers .ProcessUtils ;
41
40
import processing .app .helpers .StringUtils ;
42
41
Original file line number Diff line number Diff line change 31
31
32
32
import cc .arduino .packages .BoardPort ;
33
33
import cc .arduino .packages .discoverers .SerialDiscovery ;
34
- import cc .arduino .packages .uploaders .SerialUploader ;
35
34
import processing .app .BaseNoGui ;
36
35
import processing .app .Platform ;
37
36
import processing .app .debug .TargetBoard ;
Original file line number Diff line number Diff line change 40
40
import cc .arduino .packages .BoardPort ;
41
41
import processing .app .debug .RunnerException ;
42
42
import processing .app .debug .TargetPlatform ;
43
- import processing .app .helpers .OSUtils ;
44
43
import processing .app .helpers .PreferencesMap ;
45
44
import processing .app .helpers .StringReplacer ;
46
45
47
- import cc .arduino .packages .discoverers .SerialDiscovery ;
48
-
49
46
import java .io .File ;
50
47
import java .util .ArrayList ;
51
48
import java .util .List ;
Original file line number Diff line number Diff line change 27
27
import processing .app .packages .UserLibrary ;
28
28
29
29
import java .io .File ;
30
- import java .io .FileOutputStream ;
31
30
import java .io .FileWriter ;
32
31
import java .io .IOException ;
33
32
import java .nio .file .Files ;
Original file line number Diff line number Diff line change @@ -169,13 +169,13 @@ public String preListAllCandidateDevices() {
169
169
return null ;
170
170
}
171
171
172
- public List <String > listSerials (){
173
- return new ArrayList (Arrays .asList (this . listSerialsNative ()));
172
+ public List <String > listSerials () {
173
+ return new ArrayList < String > (Arrays .asList (listSerialsNative ()));
174
174
}
175
175
176
176
public List <String > listSerialsNames (){
177
177
List <String > list = new LinkedList <>();
178
- for (String port : this . listSerialsNative ()) {
178
+ for (String port : listSerialsNative ()) {
179
179
list .add (port .split ("_" )[0 ]);
180
180
}
181
181
return list ;
You can’t perform that action at this time.
0 commit comments