commit | 2afe55cbabd25883ceefa72eb81f7a9ccd7ee799 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Wed Jan 23 21:16:28 2019 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Wed Jan 23 21:16:28 2019 +0900 |
tree | 6785bc73e9dac6f9945cf6f76fbb643898ab30a4 | |
parent | 950225ed2c0ee4100ba1bdb3bc32e2e8725997de [diff] |
FilteredRepository: Stop using deprecated RefDatabase#getRefs Change-Id: I93b40f1688c3aea4ab08873bbf2756a6c8d80bc0
diff --git a/src/main/java/com/googlesource/gerrit/plugins/gitiles/FilteredRepository.java b/src/main/java/com/googlesource/gerrit/plugins/gitiles/FilteredRepository.java index 3dee013..c3bed8a 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/gitiles/FilteredRepository.java +++ b/src/main/java/com/googlesource/gerrit/plugins/gitiles/FilteredRepository.java
@@ -232,7 +232,7 @@ try { refs = perm.filter( - git.getRefDatabase().getRefs(prefix), + git.getRefDatabase().getRefsByPrefix(prefix), git, RefFilterOptions.builder().setFilterTagsSeparately(true).build()); } catch (PermissionBackendException e) {