提交 378ef768 编写于 作者: O Oleg Nenashev 提交者: Oliver Gondža

FindBugs: Wrong WARNING message formatting in hudson.model.UpdateCenter#createUpdateCenter

(cherry picked from commit e5a728b3)
上级 28ee0372
......@@ -278,7 +278,7 @@ public class UpdateCenter extends AbstractModelObject implements Saveable, OnMas
// Should never happen
LOGGER.log(WARNING, "UpdateCenter class {0} does not extend hudson.model.UpdateCenter. Using default.", requiredClassName);
} catch(NoSuchMethodException e) {
LOGGER.log(WARNING, String.format("UpdateCenter class {0} does not define one of the required constructors. Using default", requiredClassName), e);
LOGGER.log(WARNING, String.format("UpdateCenter class %s does not define one of the required constructors. Using default", requiredClassName), e);
} catch(Exception e) {
LOGGER.log(WARNING, String.format("Unable to instantiate custom plugin manager [%s]. Using default.", requiredClassName), e);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册