提交 82d2eb5f 编写于 作者: J Jesse Glick

@CheckForNull

上级 fe1d4472
......@@ -105,7 +105,7 @@ public abstract class SCM implements Describable<SCM>, ExtensionPoint {
*
* @see #getEffectiveBrowser()
*/
public RepositoryBrowser<?> getBrowser() {
public @CheckForNull RepositoryBrowser<?> getBrowser() {
return null;
}
......@@ -126,7 +126,7 @@ public abstract class SCM implements Describable<SCM>, ExtensionPoint {
* @see SCMDescriptor#isBrowserReusable
*/
@Exported(name="browser")
public final RepositoryBrowser<?> getEffectiveBrowser() {
public final @CheckForNull RepositoryBrowser<?> getEffectiveBrowser() {
RepositoryBrowser<?> b = getBrowser();
if(b!=null)
return b;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册