Buggy code:
public class Photo { public static final String BLUR_SUFFIX = "_blur" ; public static final int INVALID_VALUE = - 1 ; private int viewWidth = Photo . INVALID_VALUE ; private int viewHeight = Photo . INVALID_VALUE ; private String url ; private Bitmap content ; private ProgressListener progressListener ; private int contentLength ; private static boolean saveTraffic = false ; public static enum ContentState { DONE , LOADING , NONE ; } public static enum LoadOption { ONLY_FROM_CACHE , ONLY_FROM_NETWORK , BOTH ; } private Photo . ContentState contentState = Photo . ContentState . NONE ; private CommonRequest request ; private static RequestManager mRequestManager ; public Photo ( String url , int viewWidth , int viewHeight ) { } public int getViewWidth ( ) { } public int getViewHeight ( ) { } public void setUrl ( String url ) { } public String getUrl ( ) { } public void setContent ( Bitmap content ) { } public Bitmap getContent ( ) { } public void setProgressListener ( ProgressListener progressListener ) { } public ProgressListener getProgressListener ( ) { } public void setContentLength ( int contentLength ) { } public int getContentLength ( ) { } public Photo . ContentState getLoadingState ( ) { } public void setContentState ( Photo . ContentState contentState ) { } public PhotoSpiceRequest newSpiceRequest ( ) { } public CommonRequest getRequest ( ) { } public void setRequest ( CommonRequest request ) { } public static Photo getObject ( ImageView view , String url ) { } public static void loadScrollItemImg ( final ImageView imageView , String url , int defaultResourceID , int scrollState , float scrollSpeed ) { } public static void loadImg ( final ImageView imageView , String url , int defaultResourceID ) { } public static void reloadImg ( final ImageView imageView ) { if ( ( imageView != null ) && ( ( imageView . getTag ( ) ) != null ) ) { final Photo photo = ( ( Photo ) ( imageView . getTag ( ) ) ) ; if ( ( photo . getLoadingState ( ) ) != ( Photo . ContentState . DONE ) ) { if ( ( photo . getRequest ( ) ) != null ) { photo . getRequest ( ) . cancel ( ) ; } photo . setContentState ( Photo . ContentState . LOADING ) ; CommonRequest < Photo > request = null ; switch ( RequestManager . getExecuteMode ( ) ) { case ROBO_SPIECE : PhotoSpiceRequest spiceRequest = photo . newSpiceRequest ( ) ; <START_BUG> new me . suanmiao . common . io . http . SpiceBuilder < Photo > ( ) . request ( spiceRequest ) . build ( ) ; <END_BUG> break ; case VOLLEY : request = new me . suanmiao . common . io . http . VolleyBuilder < Photo > ( ) . url ( photo . getUrl ( ) ) . method ( GET ) . actionDelivery ( new PhotoActionDelivery ( photo ) ) . build ( ) ; break ; } if ( request != null ) { photo . setRequest ( request ) ; if ( Photo . saveTraffic ) { request . setLoadOption ( Photo . LoadOption . ONLY_FROM_CACHE ) ; } else { request . setLoadOption ( Photo . LoadOption . BOTH ) ; } Photo . executeFullRequest ( request , photo , imageView ) ; } imageView . setTag ( photo ) ; } } } public static void loadBlurImg ( final ImageView imageView , String url , int defaultResourceID ) { } public static void loadScrollItemBlurImg ( final ImageView imageView , String url , int defaultResourceID , int scrollState , float scrollSpeed ) { } public static void reloadBlurImg ( final ImageView imageView ) { } public static void executeFullRequest ( CommonRequest < Photo > request , final Photo photo , final ImageView imageView ) { } public void loadFromRamCache ( RequestManager requestManager , ImageView imageView , String url ) { } private static boolean saveTraffic ( ) { } public static void setSaveTraffic ( boolean saveTraffic ) { } }

Fix:
request = new me . suanmiao . common . io . http . SpiceBuilder < Photo > ( ) . request ( spiceRequest ) . build ( ) ;