FileRepository: Don't use deprecated RefDatabase#getRefs(String)
Change-Id: Iec58c973537ddbe0f4e6b8b62fcda5cecc961661 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
This commit is contained in:
parent
46b7128a2e
commit
1046ba12f9
|
@ -46,8 +46,6 @@
|
|||
|
||||
package org.eclipse.jgit.internal.storage.file;
|
||||
|
||||
import static org.eclipse.jgit.lib.RefDatabase.ALL;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.FileNotFoundException;
|
||||
|
@ -540,7 +538,7 @@ public void openPack(File pack) throws IOException {
|
|||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public void scanForRepoChanges() throws IOException {
|
||||
getRefDatabase().getRefs(ALL); // This will look for changes to refs
|
||||
getRefDatabase().getRefs(); // This will look for changes to refs
|
||||
detectIndexChanges();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue