Refactoring

This commit is contained in:
M66B
2019-12-06 12:30:38 +01:00
parent dc1e6ae733
commit 4bd83818d3
5 changed files with 9 additions and 9 deletions

View File

@@ -92,7 +92,7 @@ public class EntityCertificate {
.generateCertificate(new ByteArrayInputStream(encoded));
}
boolean isOutdated() {
boolean isExpired() {
long now = new Date().getTime();
return ((this.after != null && now <= this.after) || (this.before != null && now > this.before));
}