Skip to content

Commit

Permalink
Addressed a code smell (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaspcram authored and MikeGost committed Aug 15, 2018
1 parent 5a5dff0 commit a50bf44
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class ByteArrayCachingStrategy extends AbstractCachingStrategy
/*
* Default size is arbitrarily set to 2 MiB
*/
private static final long DEFAULT_BYTE_ARRAY_SIZE = 1024 * 1024 * 2;
private static final long DEFAULT_BYTE_ARRAY_SIZE = 1024L * 1024 * 2;
private static final Logger logger = LoggerFactory.getLogger(ByteArrayCachingStrategy.class);

private final Map<UUID, ByteArrayResource> resourceCache;
Expand Down

0 comments on commit a50bf44

Please sign in to comment.