Skip to content

Commit cab2423

Browse files
committed
Did a little bit of work
1 parent 11ba67e commit cab2423

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/main/java/com/mihair/analysis_machine/service/PatientCryptographyService.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public CryptographyClient getClientOrCreateByKeyName(String keyName) throws Cryp
3939
}).getFirst();
4040
}
4141

42-
//TODO : review code
4342
public CryptographyClient getClientByKeyName(String keyName) throws CryptoClientCreationException {
4443
if (cryptoClientCache.containsKey(keyName) && Date.from(cryptoClientCache.get(keyName).getSecond().toInstant().plusSeconds(CACHE_INVALIDATION_SECONDS)).before(Date.from(Instant.ofEpochMilli(System.currentTimeMillis()))))
4544
cryptoClientCache.remove(keyName);

0 commit comments

Comments
 (0)