mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-09-27 18:19:34 +02:00
Make getLastModified() @Nonnull
This commit is contained in:
parent
a25ea542d6
commit
ed2c53f5d6
|
@ -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