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:
Jesse Glick authored and Oleg Nenashev committed 2017-05-20 12:32:52 +02:00
1 parent 1f4183a9a3
commit d13b1361e1
42 files changed
+231 -399

No files matched your search

+1 -5
View File
@@ -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;
}
}