Rename getPathSetWebLink to getPatchSetWebLink
Typo introduced in v2.11-rc0~655 (I23716673713db3955d9f1743dee95a87a9db2978, 2014-09-24). Change-Id: I9cfd2e14ea4ccfbbb7ffa1f50b5ee2ea48aafb0c
This commit is contained in:
parent
1aea830549
commit
b3cd6906f8
|
@ -1795,7 +1795,7 @@ public class MyWeblinkPlugin implements PatchSetWebLink {
|
|||
private String imageUrl = "http://placehold.it/16x16.gif";
|
||||
|
||||
@Override
|
||||
public WebLinkInfo getPathSetWebLink(String projectName, String commit) {
|
||||
public WebLinkInfo getPatchSetWebLink(String projectName, String commit) {
|
||||
return new WebLinkInfo(name,
|
||||
imageUrl,
|
||||
String.format(placeHolderUrlProjectCommit, project, commit),
|
||||
|
|
|
@ -34,5 +34,5 @@ public interface PatchSetWebLink extends WebLink{
|
|||
* @return WebLinkInfo that links to patch set in external service,
|
||||
* null if there should be no link.
|
||||
*/
|
||||
WebLinkInfo getPathSetWebLink(final String projectName, final String commit);
|
||||
WebLinkInfo getPatchSetWebLink(final String projectName, final String commit);
|
||||
}
|
||||
|
|
|
@ -85,7 +85,7 @@ public class WebLinks {
|
|||
|
||||
@Override
|
||||
public WebLinkInfo apply(WebLink webLink) {
|
||||
return ((PatchSetWebLink)webLink).getPathSetWebLink(project.get(), commit);
|
||||
return ((PatchSetWebLink)webLink).getPatchSetWebLink(project.get(), commit);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -174,4 +174,4 @@ public class WebLinks {
|
|||
.transform(transformer)
|
||||
.filter(INVALID_WEBLINK);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 133d0a22f4116ebf11c283fd0a9c3bbdcd9e8d8a
|
||||
Subproject commit bb209927b3cfc3073ce5af81c4a8436068be9e0d
|
Loading…
Reference in New Issue