From ab14c63f5865817dfee9eb7af23079077fb9946a Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Tue, 8 Dec 2015 16:49:31 +0100 Subject: [PATCH] Remove `SketchData.setName()` It was not used, and since it only updated the `name` attribute, but not the corresponding `file` attribute, nor actually handled renaming actual files, having this method around would actually be harmful, so just drop it. --- arduino-core/src/processing/app/SketchData.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arduino-core/src/processing/app/SketchData.java b/arduino-core/src/processing/app/SketchData.java index 21aeecb48..b56685815 100644 --- a/arduino-core/src/processing/app/SketchData.java +++ b/arduino-core/src/processing/app/SketchData.java @@ -248,10 +248,6 @@ public class SketchData { return name; } - public void setName(String name) { - this.name = name; - } - public void clearCodeDocs() { codes.clear(); }