mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 12:02:20 +00:00
Adding some interface default method implementations (#2879)
* Adding some interface default method implementations rather than catching AbstractMethodError or providing partial implementation classes. * Show Javadoc warnings and errors, but not ‘Generating …/core/target/site/apidocs/jenkins/model/lazy/class-use/AbstractLazyLoadRunMap.html...’ and the like. * Javadoc fixes. * Review comments from @oleg-nenashev. * Test fixes. * Remove the unused import
This commit is contained in:
1 parent
1f4183a9a3
commit
d13b1361e1
42 files changed
+231
-399
No files matched your search
@@ -900,11 +900,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
|
||||
if (d.shortName.equals(p.getShortName())) {
|
||||
// this plugin depends on the newly loaded one!
|
||||
// recalculate dependencies!
|
||||
try {
|
||||
getPluginStrategy().updateDependency(depender, p);
|
||||
} catch (AbstractMethodError x) {
|
||||
LOGGER.log(WARNING, "{0} does not yet implement updateDependency", getPluginStrategy().getClass());
|
||||
}
|
||||
getPluginStrategy().updateDependency(depender, p);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user