Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
josemduarte committed Mar 4, 2024
1 parent df2e83d commit 7f8f95e
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -215,9 +215,9 @@ public static boolean validateFile(File localFile) {
if(sizeFile.exists()) {
try (Scanner scanner = new Scanner(sizeFile)) {
long expectedSize = scanner.nextLong();
long actualLSize = localFile.length();
if (expectedSize != actualLSize) {
logger.warn("File [{}] size ({}) does not match expected size ({}).", localFile, actualLSize, expectedSize);
long actualSize = localFile.length();
if (expectedSize != actualSize) {
logger.warn("File [{}] size ({}) does not match expected size ({}).", localFile, actualSize, expectedSize);
return false;
}
} catch (FileNotFoundException e) {
Expand Down

0 comments on commit 7f8f95e

Please sign in to comment.