Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7182 Make it possible to update Guava
  3. OAK-7542

oak-blob-*'s use of Guava File.fileTreeTraverser

    XMLWordPrintableJSON

    Details

    • Type: Technical task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: blob, blob-plugins
    • Labels:
      None

      Description

      This is removed in Guava >= 25.

      oak-blob/src/main/java/org/apache/jackrabbit/oak/spi/blob/FileBlobStore.java
      246:        FluentIterable<File> iterable = Files.fileTreeTraverser().postOrderTraversal(baseDir);
      
      oak-blob-plugins/src/main/java/org/apache/jackrabbit/oak/plugins/blob/datastore/BlobIdTracker.java
      52:import static com.google.common.io.Files.fileTreeTraverser;
      469:                fileTreeTraverser().breadthFirstTraversal(rootDir).firstMatch(IN_PROCESS.filter())
      474:                fileTreeTraverser().breadthFirstTraversal(rootDir).filter(GENERATION.filter())));
      
      oak-blob-plugins/src/main/java/org/apache/jackrabbit/oak/plugins/blob/datastore/FSBackend.java
      140:        return Files.fileTreeTraverser().postOrderTraversal(fsPathDir)
      260:        return Files.fileTreeTraverser().postOrderTraversal(fsPathDir)
      
      oak-blob-plugins/src/main/java/org/apache/jackrabbit/oak/plugins/blob/datastore/OakFileDataStore.java
      77:        return Files.fileTreeTraverser().postOrderTraversal(new File(path))
      241:        return Files.fileTreeTraverser().postOrderTraversal(new File(path))
      
      oak-blob-plugins/src/main/java/org/apache/jackrabbit/oak/plugins/blob/DataStoreCacheUpgradeUtils.java
      111:            Files.fileTreeTraverser().postOrderTraversal(path)
      
      oak-blob-plugins/src/main/java/org/apache/jackrabbit/oak/plugins/blob/FileCache.java
      304:        Iterator<File> iter = Files.fileTreeTraverser().postOrderTraversal(cacheRoot)
      
      oak-blob-plugins/src/main/java/org/apache/jackrabbit/oak/plugins/blob/UploadStagingCache.java
      241:        Iterator<File> iter = Files.fileTreeTraverser().postOrderTraversal(uploadCacheSpace)
      
      oak-blob-plugins/src/test/java/org/apache/jackrabbit/oak/plugins/blob/AbstractBlobTrackerRegistrationTest.java
      116:                Files.fileTreeTraverser().postOrderTraversal(blobIdFiles).filter(new Predicate<File>() {
      
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              reschke Julian Reschke
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: