style(comment): date format
This commit is contained in:
parent
9bcbb510a0
commit
d673d34a51
1 changed files with 2 additions and 2 deletions
|
@ -50,8 +50,8 @@ public class RedisCache extends Cache {
|
||||||
@Override
|
@Override
|
||||||
public Optional<NickoProfile> retrieve(UUID uuid) {
|
public Optional<NickoProfile> retrieve(UUID uuid) {
|
||||||
try (Jedis jedis = provider.getJedis()) {
|
try (Jedis jedis = provider.getJedis()) {
|
||||||
// 29/08/23: what the fuck was I talking about?
|
// 08/29/23: what the fuck was I talking about?
|
||||||
// TODO (Ineanto, 5/20/23): Check if cached before because Jedis returns a bulk reply so this is unsafe
|
// TODO (Ineanto, 05/20/23): Check if cached before because Jedis returns a bulk reply so this is unsafe
|
||||||
final String data = jedis.get("nicko:" + uuid.toString());
|
final String data = jedis.get("nicko:" + uuid.toString());
|
||||||
final NickoProfile profile = gson.fromJson(data, NickoProfile.class);
|
final NickoProfile profile = gson.fromJson(data, NickoProfile.class);
|
||||||
return Optional.of(profile);
|
return Optional.of(profile);
|
||||||
|
|
Loading…
Reference in a new issue