mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-25 22:02:05 +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.
|
* @return last modification date.
|
||||||
*/
|
*/
|
||||||
public @Nullable Date getLastModified() {
|
public @Nonnull Date getLastModified() {
|
||||||
PGPSignature mostRecent = getMostRecentSignature();
|
PGPSignature mostRecent = getMostRecentSignature();
|
||||||
if (mostRecent == null) {
|
if (mostRecent == null) {
|
||||||
// No sigs found. Return public key creation date instead.
|
// No sigs found. Return public key creation date instead.
|
||||||
|
|
Loading…
Reference in a new issue