1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-28 09:24:14 +01:00

Renamed varible (typo)

This commit is contained in:
Cristian Maglie 2021-12-20 12:54:43 +01:00
parent 9f8d19244a
commit 66a973af18

View File

@ -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