Skip to content

Commit 58f4ad0

Browse files
committed
initialize the error string as empty (not null)
1 parent 1bc2121 commit 58f4ad0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ protected Uploader(boolean nup) {
8686
}
8787

8888
private void init(boolean nup) {
89-
this.error = null;
89+
this.error = "";
9090
this.notFoundError = false;
9191
this.noUploadPort = nup;
9292
}

0 commit comments

Comments
 (0)