public class RetrieveStickerPackJob implements Job {
- private final static Logger logger = LoggerFactory.getLogger(RetrieveStickerPackJob.class);
+ private static final Logger logger = LoggerFactory.getLogger(RetrieveStickerPackJob.class);
private final StickerPackId packId;
private final byte[] packKey;
@Override
public void run(Context context) {
- if (context.getStickerPackStore().existsStickerPack(packId)) {
- logger.debug("Sticker pack {} already downloaded.", Hex.toStringCondensed(packId.serialize()));
- return;
- }
try {
context.getStickerHelper().retrieveStickerPack(packId, packKey);
} catch (IOException e) {