mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-19 08:52:15 +01:00
Minor fix in indentation and style
This commit is contained in:
parent
cfd3cf2b27
commit
c03a8bc175
@ -162,7 +162,7 @@ public class NetworkDiscovery implements Discovery, ServiceListener, Runnable {
|
||||
|
||||
@Override
|
||||
public List<BoardPort> listDiscoveredBoards() {
|
||||
synchronized (reachableBoardPorts) {
|
||||
synchronized (reachableBoardPorts) {
|
||||
return getBoardPortsDiscoveredWithJmDNS();
|
||||
}
|
||||
}
|
||||
@ -176,8 +176,8 @@ public class NetworkDiscovery implements Discovery, ServiceListener, Runnable {
|
||||
|
||||
public void setReachableBoardPorts(List<BoardPort> newReachableBoardPorts) {
|
||||
synchronized (reachableBoardPorts) {
|
||||
this.reachableBoardPorts.clear();
|
||||
this.reachableBoardPorts.addAll(newReachableBoardPorts);
|
||||
reachableBoardPorts.clear();
|
||||
reachableBoardPorts.addAll(newReachableBoardPorts);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user