mirror of https://github.com/micromata/borgbackup-butler.git

Kai Reinhard
18.12.2018 816d8a3ada149acf061b8a594ab24a39d1d782c5
borgbutler-core/src/main/java/de/micromata/borgbutler/cache/ArchiveFilelistCache.java
@@ -32,7 +32,6 @@
    @Getter
    private Archive archive;
    private List<BorgFilesystemItem> content;
    public void save(BorgRepoConfig repoConfig, Archive archive, List<BorgFilesystemItem> filesystemItems) {
        File file = getFile(repoConfig, archive);
@@ -128,6 +127,7 @@
        } catch (IOException | ClassNotFoundException ex) {
            log.error("Error while reading file list '" + file.getAbsolutePath() + "': " + ex.getMessage(), ex);
        }
        Collections.sort(list); // Sort by path (if archive list order wasn't correct).
        log.info("Loading done.");
        if (filter != null) {
            return filter.reduce(list);