1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-03-13 10:29:35 +01:00

Removed unused Base.getBoardsViaNetwork() and related member.

This commit is contained in:
Cristian Maglie 2014-08-26 16:31:06 +02:00
parent e994c52729
commit 9bc1824b96

View File

@ -127,7 +127,6 @@ public class Base {
// int editorCount;
List<Editor> editors = Collections.synchronizedList(new ArrayList<Editor>());
Editor activeEditor;
private final Map<String, Map<String, Object>> boardsViaNetwork;
static File portableFolder = null;
static final String portableSketchbookFolder = "sketchbook";
@ -310,8 +309,6 @@ public class Base {
public Base(String[] args) throws Exception {
platform.init(this);
this.boardsViaNetwork = new ConcurrentHashMap<String, Map<String, Object>>();
// Get the sketchbook path, and make sure it's set properly
String sketchbookPath = Preferences.get("sketchbook.path");
@ -616,10 +613,6 @@ public class Base {
Preferences.set(split[0], split[1]);
}
public Map<String, Map<String, Object>> getBoardsViaNetwork() {
return new HashMap<String, Map<String, Object>>(boardsViaNetwork);
}
/**
* Post-constructor setup for the editor area. Loads the last
* sketch that was used (if any), and restores other Editor settings.