WebLinks: Remove unused method
Change-Id: I6a161be2d1d862a2e2ea95afa6ceeb7c065c7a29
This commit is contained in:
@@ -217,7 +217,7 @@ class ProjectAccessFactory extends Handler<ProjectAccess> {
|
|||||||
|
|
||||||
private List<WebLinkInfoCommon> getConfigFileLogLinks(String projectName) {
|
private List<WebLinkInfoCommon> getConfigFileLogLinks(String projectName) {
|
||||||
FluentIterable<WebLinkInfoCommon> links =
|
FluentIterable<WebLinkInfoCommon> links =
|
||||||
webLinks.getFileHistoryLinksCommon(projectName, RefNames.REFS_CONFIG,
|
webLinks.getFileHistoryLinks(projectName, RefNames.REFS_CONFIG,
|
||||||
ProjectConfig.PROJECT_CONFIG);
|
ProjectConfig.PROJECT_CONFIG);
|
||||||
return links.isEmpty() ? null : links.toList();
|
return links.isEmpty() ? null : links.toList();
|
||||||
}
|
}
|
||||||
|
@@ -122,14 +122,7 @@ public class WebLinks {
|
|||||||
* @param file File name.
|
* @param file File name.
|
||||||
* @return Links for file history
|
* @return Links for file history
|
||||||
*/
|
*/
|
||||||
public FluentIterable<WebLinkInfo> getFileHistoryLinks(String project,
|
public FluentIterable<WebLinkInfoCommon> getFileHistoryLinks(
|
||||||
String revision, String file) {
|
|
||||||
return filterLinks(
|
|
||||||
fileHistoryLinks,
|
|
||||||
webLink -> webLink.getFileHistoryWebLink(project, revision, file));
|
|
||||||
}
|
|
||||||
|
|
||||||
public FluentIterable<WebLinkInfoCommon> getFileHistoryLinksCommon(
|
|
||||||
String project, String revision, String file) {
|
String project, String revision, String file) {
|
||||||
return FluentIterable
|
return FluentIterable
|
||||||
.from(fileHistoryLinks)
|
.from(fileHistoryLinks)
|
||||||
|
Reference in New Issue
Block a user