mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-29 15:52:08 +01:00
Make getLastModified() @Nonnull
This commit is contained in:
parent
a25ea542d6
commit
ed2c53f5d6
1 changed files with 1 additions and 1 deletions
|
@ -611,7 +611,7 @@ public class KeyRingInfo {
|
|||
*
|
||||
* @return last modification date.
|
||||
*/
|
||||
public @Nullable Date getLastModified() {
|
||||
public @Nonnull Date getLastModified() {
|
||||
PGPSignature mostRecent = getMostRecentSignature();
|
||||
if (mostRecent == null) {
|
||||
// No sigs found. Return public key creation date instead.
|
||||
|
|
Loading…
Reference in a new issue