diff options
Diffstat (limited to 'arduino-core/src/cc/arduino/utils/network/FileDownloaderCache.java')
-rw-r--r-- | arduino-core/src/cc/arduino/utils/network/FileDownloaderCache.java | 8 |
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 |