提交 68adc8f3 编写于 作者: K Kohsuke Kawaguchi

trying to be a bit more helpful

上级 3aa812fe
......@@ -54,6 +54,7 @@ public abstract class AbstractCIBase extends Node implements ItemGroup<TopLevelI
* If you are calling this on Hudson something is wrong.
*
* @deprecated
* Maybe you were trying to call {@link #getDisplayName()}.
*/
@Deprecated @Override
public String getNodeName() {
......@@ -63,6 +64,7 @@ public abstract class AbstractCIBase extends Node implements ItemGroup<TopLevelI
/**
* @deprecated
* Why are you calling a method that always returns ""?
* You probably want o call {@link Jenkins#getRootUrl()}
*/
public String getUrl() {
return "";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册