mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-09-28 18:49:56 +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.
|
* @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