|
|
@ -1,5 +1,5 @@
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* Copyright 2012-2017 the original author or authors.
|
|
|
|
* Copyright 2012-2018 the original author or authors.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
@ -79,7 +79,7 @@ class FolderSnapshot {
|
|
|
|
Assert.notNull(snapshot, "Snapshot must not be null");
|
|
|
|
Assert.notNull(snapshot, "Snapshot must not be null");
|
|
|
|
File folder = this.folder;
|
|
|
|
File folder = this.folder;
|
|
|
|
Assert.isTrue(snapshot.folder.equals(folder),
|
|
|
|
Assert.isTrue(snapshot.folder.equals(folder),
|
|
|
|
"Snapshot source folder must be '" + folder + "'");
|
|
|
|
() -> "Snapshot source folder must be '" + folder + "'");
|
|
|
|
Set<ChangedFile> changes = new LinkedHashSet<>();
|
|
|
|
Set<ChangedFile> changes = new LinkedHashSet<>();
|
|
|
|
Map<File, FileSnapshot> previousFiles = getFilesMap();
|
|
|
|
Map<File, FileSnapshot> previousFiles = getFilesMap();
|
|
|
|
for (FileSnapshot currentFile : snapshot.files) {
|
|
|
|
for (FileSnapshot currentFile : snapshot.files) {
|
|
|
|