Skip to content

Commit 0ad73eb

Browse files
author
Federico Fissore
committed
Boards manager, nightly core support: missing negation on String.empty() made check report an opposite result
1 parent 03a66b1 commit 0ad73eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-core/src/cc/arduino/contributions/DownloadableContributionsDownloader.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ private boolean hasChecksum(DownloadableContribution contribution) {
9191

9292
String algo = checksum.split(":")[0];
9393

94-
return algo != null && algo.isEmpty();
94+
return algo != null && !algo.isEmpty();
9595
}
9696

9797
public void download(URL url, File tmpFile, Progress progress, String statusText) throws Exception {

0 commit comments

Comments
 (0)