Skip to content

Commit

Permalink
Fix not specific enough generic types in Java 7.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjudd committed Dec 11, 2017
1 parent 150ebab commit fb5d608
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import android.support.annotation.Nullable;
import android.support.v4.util.ArrayMap;
import com.bumptech.glide.load.ResourceDecoder;
import com.bumptech.glide.load.engine.DecodePath;
import com.bumptech.glide.load.engine.LoadPath;
import com.bumptech.glide.load.resource.transcode.UnitTranscoder;
Expand All @@ -20,11 +21,11 @@ public class LoadPathCache {
Object.class,
Object.class,
Collections.singletonList(
new DecodePath<>(
new DecodePath<Object, Object, Object>(
Object.class,
Object.class,
Object.class,
Collections.emptyList(),
Collections.<ResourceDecoder<Object, Object>>emptyList(),
new UnitTranscoder<>(),
/*listPool=*/ null)),
/*listPool=*/ null);
Expand Down

0 comments on commit fb5d608

Please sign in to comment.