Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/arduino/Arduino.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@arduino.cc>2021-12-20 14:54:43 +0300
committerCristian Maglie <c.maglie@arduino.cc>2021-12-20 14:54:43 +0300
commit66a973af180689a1d86d76dd63dd562684a9b470 (patch)
treea0b3f2b5bc6ccbb89b51e8380a3f53a74d45126b
parent9f8d19244a020c84d791549ccddcb0ad3d4d741f (diff)
Renamed varible (typo)
-rw-r--r--arduino-core/src/cc/arduino/utils/network/FileDownloaderCache.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/arduino-core/src/cc/arduino/utils/network/FileDownloaderCache.java b/arduino-core/src/cc/arduino/utils/network/FileDownloaderCache.java
index 6e2468339..a529a241d 100644
--- a/arduino-core/src/cc/arduino/utils/network/FileDownloaderCache.java
+++ b/arduino-core/src/cc/arduino/utils/network/FileDownloaderCache.java
@@ -265,16 +265,16 @@ public class FileDownloaderCache {
@JsonIgnore
public boolean isChange() {
// Check if the file is expire
- boolean isChange = false;
+ boolean isChanged = false;
if (isExpire()) {
- isChange = true;
+ isChanged = true;
}
if (lastETag != null && !lastETag.equals(eTag)) {
// Different ETag means that the file is changed
- isChange = true;
+ isChanged = true;
}
- return isChange;
+ return isChanged;
}
@JsonIgnore