Skip to content

Commit

Permalink
Issue #249 : Buffer size 8K -> 32K
Browse files Browse the repository at this point in the history
  • Loading branch information
nostra13 committed Jun 27, 2013
1 parent 85808ab commit 3bfc46d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ final class LoadAndDisplayImageTask implements Runnable {
private static final String ERROR_POST_PROCESSOR_NULL = "Pre-processor returned null [%s]";
private static final String ERROR_PROCESSOR_FOR_DISC_CACHE_NULL = "Bitmap processor for disc cache returned null [%s]";

private static final int BUFFER_SIZE = 8 * 1024; // 8 Kb
private static final int BUFFER_SIZE = 32 * 1024; // 32 Kb

private final ImageLoaderEngine engine;
private final ImageLoadingInfo imageLoadingInfo;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class BaseImageDownloader implements ImageDownloader {
public static final int DEFAULT_HTTP_READ_TIMEOUT = 20 * 1000; // milliseconds

/** {@value} */
protected static final int BUFFER_SIZE = 8 * 1024; // 8 Kb
protected static final int BUFFER_SIZE = 32 * 1024; // 32 Kb
/** {@value} */
protected static final String ALLOWED_URI_CHARS = "@#&=*+-_.,:!?()/~'%";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/
public final class IoUtils {

private static final int BUFFER_SIZE = 8 * 1024; // 8 KB
private static final int BUFFER_SIZE = 32 * 1024; // 32 KB

private IoUtils() {
}
Expand Down

0 comments on commit 3bfc46d

Please sign in to comment.