com.google.common.collect.ImmutableList



API Populatity

91 Client projects

Project: com.google

Project SonarSource/sonarqube in file ...n-api.src.main.java.org.sonar.api.issue.Issue.java (2013-05-23)
@@ -19,6 +19,7 @@
  */
 package org.sonar.api.issue;
 
+import com.google.common.collect.ImmutableList;
 import org.sonar.api.rule.RuleKey;
 
 import javax.annotation.CheckForNull;
@@ -44,6 +45,8 @@ public interface Issue extends Serializable {
   String RESOLUTION_FIXED = "FIXED";
   String RESOLUTION_FALSE_POSITIVE = "FALSE-POSITIVE";
 
+  List<String> RESOLUTIONS = ImmutableList.of(RESOLUTION_FALSE_POSITIVE, RESOLUTION_FIXED);
+
   /**
    * Unique generated key
    */
Project facebook/buck in file ...com.facebook.buck.java.FakeDefaultJavaLibrary.java (2014-04-03)
@@ -22,6 +22,7 @@ import com.facebook.buck.rules.BuildRuleResolver;
 import com.facebook.buck.rules.FakeBuildRuleBuilderParams;
 import com.facebook.buck.rules.SourcePath;
 import com.google.common.base.Optional;
+import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableSet;
 
 import java.nio.file.Path;
@@ -45,6 +46,7 @@ public class FakeDefaultJavaLibrary extends DefaultJavaLibrary {
         srcs,
         resources,
         proguardConfig,
+        ImmutableList.<String>of(),
         exportedDeps,
         /* addtionalClasspathEntries */ ImmutableSet.<String>of(),
         JavacOptions.builder()
Project jclouds/jclouds in file ...st.java.org.jclouds.vcloud.xml.VDCHandlerTest.java (2010-08-22)
@@ -37,6 +37,7 @@ import org.jclouds.vcloud.domain.VDCStatus;
 import org.jclouds.vcloud.domain.internal.NamedResourceImpl;
 import org.testng.annotations.Test;
 
+import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableMap;
 import com.google.inject.Guice;
 import com.google.inject.Injector;
@@ -60,6 +61,7 @@ public class VDCHandlerTest {
       assertEquals(result.getOrg(), new NamedResourceImpl(null, VCloudMediaType.ORG_XML, URI
                .create("https://vcenterprise.bluelock.com/api/v1.0/org/9566014")));
       assertEquals(result.getDescription(), null);
+      assertEquals(result.getTasks(), ImmutableList.of());
       assertEquals(result.getAllocationModel(), AllocationModel.ALLOCATION_POOL);
       assertEquals(result.getStorageCapacity(), new Capacity("MB", 1024000, 1024000, 0, 0));
       assertEquals(result.getCpuCapacity(), new Capacity("MHz", 20000, 20000, 0, 0));