mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 20:12:14 +00:00
Deprecate Util#join(Collection, String) in favor of String#join(CharSequence, Iterable) (#5467)
This commit is contained in:
1 parent
dd16cbba36
commit
c904989067
15 files changed
+20
-23
No files matched your search
@@ -499,7 +499,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
|
||||
protected void reactOnCycle(PluginWrapper q, List<PluginWrapper> cycle)
|
||||
throws hudson.util.CyclicGraphDetector.CycleDetectedException {
|
||||
|
||||
LOGGER.log(Level.SEVERE, "found cycle in plugin dependencies: (root="+q+", deactivating all involved) "+Util.join(cycle," -> "));
|
||||
LOGGER.log(Level.SEVERE, "found cycle in plugin dependencies: (root=" + q + ", deactivating all involved) " + cycle.stream().map(Object::toString).collect(Collectors.joining(" -> ")));
|
||||
for (PluginWrapper pluginWrapper : cycle) {
|
||||
pluginWrapper.setHasCycleDependency(true);
|
||||
failedPlugins.add(new FailedPlugin(pluginWrapper.getShortName(), new CycleDetectedException(cycle)));
|
||||
|
||||
Reference in new issue
Block a user