java.io.InputStream



Project bumptech/glide in file ...ech.glide.samples.flickr.FlickrSearchActivity.java (2015-01-21)
@@ -33,7 +33,6 @@ import com.bumptech.glide.samples.flickr.api.Api;
 import com.bumptech.glide.samples.flickr.api.Photo;
 
 import java.io.File;
-import java.io.InputStream;
 import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.HashSet;
@@ -90,7 +89,6 @@ public class FlickrSearchActivity extends ActionBarActivity {
     @Override
     public void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
-        Glide.get(this).register(Photo.class, InputStream.class, new FlickrModelLoader.Factory());
         backgroundThread = new HandlerThread("BackgroundThumbnailHandlerThread");
         backgroundThread.start();
         backgroundHandler = new Handler(backgroundThread.getLooper());
Project elasticsearch/elasticsearch in file ....main.java.org.elasticsearch.rest.RestRequest.java (2010-04-29)
@@ -23,7 +23,6 @@ import org.elasticsearch.util.SizeValue;
 import org.elasticsearch.util.TimeValue;
 import org.elasticsearch.util.xcontent.ToXContent;
 
-import java.io.InputStream;
 import java.util.List;
 import java.util.Map;
 import java.util.Set;
@@ -51,8 +50,6 @@ public interface RestRequest extends ToXContent.Params {
 
     boolean hasContent();
 
-    InputStream contentAsStream();
-
     byte[] contentAsBytes();
 
     String contentAsString();
Project jclouds/jclouds in file ...t.java.org.jclouds.http.IntegrationTestClient.java (2010-06-25)
@@ -19,7 +19,6 @@
 package org.jclouds.http;
 
 import java.io.File;
-import java.io.InputStream;
 import java.util.Map;
 import java.util.concurrent.TimeUnit;
 
@@ -40,8 +39,6 @@ public interface IntegrationTestClient {
 
    String download(String id);
 
-   InputStream downloadStream(String id);
-
    String downloadException(String id, HttpRequestOptions options);
 
    String synchException(String id, String header);
Project jclouds/legacy-jclouds in file ...t.java.org.jclouds.http.IntegrationTestClient.java (2010-06-25)
@@ -19,7 +19,6 @@
 package org.jclouds.http;
 
 import java.io.File;
-import java.io.InputStream;
 import java.util.Map;
 import java.util.concurrent.TimeUnit;
 
@@ -40,8 +39,6 @@ public interface IntegrationTestClient {
 
    String download(String id);
 
-   InputStream downloadStream(String id);
-
    String downloadException(String id, HttpRequestOptions options);
 
    String synchException(String id, String header);
Project 0xdata/h2o in file ...721ebe0c7/src.main.java.water.fvec.NFSFileVec.java (2013-06-19)
@@ -1,7 +1,7 @@
 package water.fvec;
 
 import java.io.File;
-import java.io.InputStream;
+
 import water.*;
 import water.persist.PersistNFS;
 
@@ -66,7 +66,7 @@ public class NFSFileVec extends ByteVec {
     // Lazily create a DVec for this chunk
     int len = (int)(cidx < nchk-1 ? ValueArray.CHUNK_SZ : (_len-chunk2StartElem(cidx)));
     // DVec is just the raw file data with a null-compression scheme
-    Value val2 = new Value(dkey,len,null,TypeMap.C1VECTOR,Value.NFS);
+    Value val2 = new Value(dkey,len,null,TypeMap.C1CHUNK,Value.NFS);
     val2.setdsk(); // It is already on disk.
     // Atomically insert: fails on a race, but then return the old version
     Value val3 = DKV.DputIfMatch(dkey,val2,null,null);