java.util.Collectioncom.google.common.collect.ImmutableCollection



Project facebook/buck in file ...om.facebook.buck.android.AaptPackageResources.java (2014-06-11)
@@ -42,6 +42,7 @@ import com.facebook.buck.util.ProjectFilesystem;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.base.Optional;
 import com.google.common.base.Preconditions;
+import com.google.common.collect.ImmutableCollection;
 import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableMap;
 import com.google.common.collect.ImmutableSet;
@@ -52,7 +53,6 @@ import java.nio.file.FileVisitResult;
 import java.nio.file.Path;
 import java.nio.file.SimpleFileVisitor;
 import java.nio.file.attribute.BasicFileAttributes;
-import java.util.Collection;
 import java.util.Collections;
 import java.util.Map;
 import java.util.Set;
@@ -89,7 +89,7 @@ public class AaptPackageResources extends AbstractBuildable
   }
 
   @Override
-  public Collection<Path> getInputsToCompareToOutput() {
+  public ImmutableCollection<Path> getInputsToCompareToOutput() {
     return SourcePaths.filterInputsToCompareToOutput(Collections.singleton(manifest));
   }
 
Project facebook/buck in file ...7/src.com.facebook.buck.android.AndroidBinary.java (2014-06-11)
@@ -68,6 +68,7 @@ import com.google.common.base.Predicate;
 import com.google.common.base.Supplier;
 import com.google.common.base.Suppliers;
 import com.google.common.collect.FluentIterable;
+import com.google.common.collect.ImmutableCollection;
 import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableMap;
 import com.google.common.collect.ImmutableSet;
@@ -84,7 +85,6 @@ import java.nio.file.Path;
 import java.nio.file.Paths;
 import java.nio.file.SimpleFileVisitor;
 import java.nio.file.attribute.BasicFileAttributes;
-import java.util.Collection;
 import java.util.EnumSet;
 import java.util.Map;
 import java.util.Set;
@@ -558,7 +558,7 @@ public class AndroidBinary extends AbstractBuildable implements
   }
 
   @Override
-  public Collection<Path> getInputsToCompareToOutput() {
+  public ImmutableCollection<Path> getInputsToCompareToOutput() {
     ImmutableList.Builder<SourcePath> sourcePaths = ImmutableList.builder();
     sourcePaths.add(manifest);
 
Project facebook/buck in file .../src.com.facebook.buck.android.AndroidLibrary.java (2014-06-11)
@@ -30,12 +30,12 @@ import com.facebook.buck.rules.SourcePath;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.base.Optional;
 import com.google.common.base.Preconditions;
+import com.google.common.collect.ImmutableCollection;
 import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableSet;
 import com.google.common.collect.ImmutableSortedSet;
 
 import java.nio.file.Path;
-import java.util.Collection;
 import java.util.Set;
 
 public class AndroidLibrary extends DefaultJavaLibrary implements DependencyEnhancer {
@@ -113,7 +113,7 @@ public class AndroidLibrary extends DefaultJavaLibrary implements DependencyEnha
   }
 
   @Override
-  public Collection<Path> getInputsToCompareToOutput() {
+  public ImmutableCollection<Path> getInputsToCompareToOutput() {
     if (manifestFile.isPresent()) {
       return ImmutableList.<Path>builder()
           .addAll(super.getInputsToCompareToOutput())
Project facebook/buck in file ...src.com.facebook.buck.android.AndroidManifest.java (2014-06-11)
@@ -33,12 +33,12 @@ import com.facebook.buck.step.fs.MkdirStep;
 import com.facebook.buck.step.fs.RmStep;
 import com.facebook.buck.util.BuckConstant;
 import com.google.common.base.Preconditions;
+import com.google.common.collect.ImmutableCollection;
 import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableSortedSet;
 
 import java.nio.file.Path;
 import java.nio.file.Paths;
-import java.util.Collection;
 import java.util.Collections;
 import java.util.Set;
 
@@ -88,7 +88,7 @@ public class AndroidManifest extends AbstractBuildable implements DependencyEnha
   }
 
   @Override
-  public Collection<Path> getInputsToCompareToOutput() {
+  public ImmutableCollection<Path> getInputsToCompareToOutput() {
     return ImmutableList.<Path>builder()
         .addAll(SourcePaths.filterInputsToCompareToOutput(Collections.singleton(skeletonFile)))
         .addAll(manifestFiles)
Project facebook/buck in file ...src.com.facebook.buck.android.AndroidResource.java (2014-06-11)
@@ -42,13 +42,13 @@ import com.google.common.base.Preconditions;
 import com.google.common.base.Predicates;
 import com.google.common.base.Supplier;
 import com.google.common.base.Suppliers;
+import com.google.common.collect.ImmutableCollection;
 import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableSet;
 import com.google.common.collect.ImmutableSortedSet;
 import com.google.common.collect.Iterables;
 
 import java.nio.file.Path;
-import java.util.Collection;
 import java.util.Set;
 
 import javax.annotation.Nullable;
@@ -158,7 +158,7 @@ public class AndroidResource extends AbstractBuildable
   }
 
   @Override
-  public Collection<Path> getInputsToCompareToOutput() {
+  public ImmutableCollection<Path> getInputsToCompareToOutput() {
     ImmutableSortedSet.Builder<Path> inputs = ImmutableSortedSet.naturalOrder();
 
     // This should include the res/ and assets/ folders.