mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 04:22:16 +00:00
Multi-catch refactoring when applicable
This commit is contained in:
1 parent
8ff2ca4c10
commit
8b3e4f43a2
21 files changed
+30
-94
No files matched your search
@@ -422,10 +422,7 @@ public abstract class ExtensionFinder implements ExtensionPoint {
|
||||
public T get() {
|
||||
try {
|
||||
return base.get();
|
||||
} catch (Exception e) {
|
||||
error(key, e);
|
||||
return null;
|
||||
} catch (LinkageError e) {
|
||||
} catch (Exception | LinkageError e) {
|
||||
error(key, e);
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user