mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-07 05:55:51 +01:00
Fixed warning.
This commit is contained in:
@@ -46,7 +46,7 @@ class BasicAuthenticationFilter extends Filter {
|
||||
try {
|
||||
new String(new sun.misc.BASE64Decoder().decodeBuffer(header.substring(6)))
|
||||
} catch {
|
||||
case _ => ""
|
||||
case _: Throwable => ""
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user