Skip to content

Commit 0584b2c

Browse files
committed
initialize the error string as empty (not null)
1 parent 84ebc68 commit 0584b2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-core/src/cc/arduino/packages/Uploader.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ protected Uploader(boolean nup) {
8585
}
8686

8787
private void init(boolean nup) {
88-
this.error = null;
88+
this.error = "";
8989
this.notFoundError = false;
9090
this.noUploadPort = nup;
9191
}

0 commit comments

Comments
 (0)