mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-05-07 20:36:45 +02:00
small cleanup
This commit is contained in:
@@ -31,9 +31,7 @@ object SshUtil {
|
||||
}
|
||||
}
|
||||
|
||||
def fingerPrint(key: String): Option[String] = str2PublicKey(key) match {
|
||||
case Some(publicKey) => Some(KeyUtils.getFingerPrint(publicKey))
|
||||
case None => None
|
||||
}
|
||||
def fingerPrint(key: String): Option[String] =
|
||||
str2PublicKey(key) map KeyUtils.getFingerPrint
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user