File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
arduino-core/src/processing/app Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ public void handleDeleteCode() throws IOException {
254
254
editor .base .handleClose (editor );
255
255
} else {
256
256
// delete the file
257
- if (!current .deleteFile (BaseNoGui .getBuildFolder (sketch ).toPath ())) {
257
+ if (!current .delete (BaseNoGui .getBuildFolder (sketch ).toPath ())) {
258
258
Base .showMessage (tr ("Couldn't do it" ),
259
259
I18n .format (tr ("Could not delete \" {0}\" ." ), current .getFileName ()));
260
260
return ;
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ protected boolean fileReadOnly() {
128
128
}
129
129
130
130
131
- protected boolean deleteFile (Path tempBuildFolder ) throws IOException {
131
+ protected boolean delete (Path tempBuildFolder ) throws IOException {
132
132
if (!file .delete ()) {
133
133
return false ;
134
134
}
You can’t perform that action at this time.
0 commit comments