Collapse identical catch branches
parent
6dc2b2cb5e
commit
13f5e4f8a6
|
@ -114,8 +114,6 @@ public class JsonFileRegisteredClientService implements RegisteredClientService
|
|||
|
||||
out.close();
|
||||
|
||||
} catch (FileNotFoundException e) {
|
||||
logger.error("Could not write to output file", e);
|
||||
} catch (IOException e) {
|
||||
logger.error("Could not write to output file", e);
|
||||
}
|
||||
|
@ -137,8 +135,6 @@ public class JsonFileRegisteredClientService implements RegisteredClientService
|
|||
|
||||
in.close();
|
||||
|
||||
} catch (FileNotFoundException e) {
|
||||
logger.error("Could not read from input file", e);
|
||||
} catch (IOException e) {
|
||||
logger.error("Could not read from input file", e);
|
||||
}
|
||||
|
|
|
@ -107,9 +107,7 @@ public class SymmetricKeyJWTValidatorCacheService {
|
|||
|
||||
return service;
|
||||
|
||||
} catch (NoSuchAlgorithmException e) {
|
||||
logger.error("Couldn't create symmetric validator for client", e);
|
||||
} catch (InvalidKeySpecException e) {
|
||||
} catch (NoSuchAlgorithmException | InvalidKeySpecException e) {
|
||||
logger.error("Couldn't create symmetric validator for client", e);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue