javax.annotation.Nullable



Project apache/hbase in file ...pache.hadoop.hbase.zookeeper.MetaTableLocator.java (2015-01-02)
@@ -27,7 +27,6 @@ import java.rmi.UnknownHostException;
 import java.util.ArrayList;
 import java.util.List;
 
-import javax.annotation.Nullable;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
@@ -126,7 +125,6 @@ public class MetaTableLocator {
    * @param zkw zookeeper connection to use
    * @return server name or null if we failed to get the data.
    */
-  @Nullable
   public ServerName getMetaRegionLocation(final ZooKeeperWatcher zkw) {
     try {
       RegionState state = getMetaRegionState(zkw);
Project facebook/buck in file ...0affc21/src.com.facebook.buck.rules.BuildRule.java (2014-04-07)
@@ -27,8 +27,6 @@ import com.google.common.collect.ImmutableSortedSet;
 import java.io.IOException;
 import java.nio.file.Path;
 
-import javax.annotation.Nullable;
-
 // This should be Comparable<BuildRule>, but we need to also compare with PrebuiltJar (and, later,
 // the other java library rules once they've migrated to Buildable. As such, the only sane interface
 // to compare to is HasBuildTarget. Ultimately, when we collapse BuildRule and Buildable, this
@@ -50,7 +48,6 @@ public interface BuildRule extends Comparable<HasBuildTarget>, HasBuildTarget {
 
   public BuildableProperties getProperties();
 
-  @Nullable
   public Buildable getBuildable();
 
   /**
Project facebook/buck in file ...b5c06cc1/src.com.facebook.buck.java.JavacStep.java (2014-11-19)
@@ -42,8 +42,6 @@ import java.util.concurrent.atomic.AtomicBoolean;
 import java.util.regex.Matcher;
 import java.util.regex.Pattern;
 
-import javax.annotation.Nullable;
-
 /**
  * Command used to compile java libraries with a variety of ways to handle dependencies.
  * <p>
@@ -66,7 +64,6 @@ public abstract class JavacStep implements Step {
 
   protected final JavacOptions javacOptions;
 
-  @Nullable
   protected final ImmutableSet<Path> transitiveClasspathEntries;
 
   protected final ImmutableSet<Path> declaredClasspathEntries;
Project facebook/presto in file ...java.com.facebook.presto.execution.RemoteTask.java (2013-03-21)
@@ -8,7 +8,6 @@ import com.facebook.presto.sql.planner.plan.PlanNodeId;
 import com.google.common.collect.Multimap;
 import com.google.common.util.concurrent.ListenableFuture;
 
-import javax.annotation.Nullable;
 import java.net.URI;
 import java.util.Set;
 
@@ -29,4 +28,6 @@ public interface RemoteTask
     void cancel();
 
     ListenableFuture<?> updateState(boolean forceRefresh);
+
+    int getQueuedSplits();
 }
Project Netflix/astyanax in file ....astyanax.recipes.functions.RowCopierFunction.java (2013-03-27)
@@ -4,8 +4,6 @@ import java.io.Flushable;
 import java.io.IOException;
 import java.util.Set;
 
-import javax.annotation.Nullable;
-
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -76,7 +74,7 @@ public class RowCopierFunction<K,C> implements Function<Row<K,C>, Boolean>, Flus
     }
     
     @Override
-    public Boolean apply(@Nullable Row<K, C> row) {
+    public Boolean apply(Row<K, C> row) {
         ThreadContext context = this.context.get();
         if (context == null) {
             context = new ThreadContext();