diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2018-05-15 13:41:15 +0900 |
---|---|---|
committer | Jonathan Nieder <jrn@google.com> | 2018-05-15 18:04:08 -0400 |
commit | 1046ba12f971c0e5d527f3f4153bf2f1c85bd824 (patch) | |
tree | c93df7305667568a0716e482d7421055a84fcc70 | |
parent | 46b7128a2e604c85d9c8ce0ce5501a994105a49c (diff) | |
download | jgit-1046ba12f971c0e5d527f3f4153bf2f1c85bd824.tar.gz jgit-1046ba12f971c0e5d527f3f4153bf2f1c85bd824.zip |
FileRepository: Don't use deprecated RefDatabase#getRefs(String)
Change-Id: Iec58c973537ddbe0f4e6b8b62fcda5cecc961661
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileRepository.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileRepository.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileRepository.java index f174e491af..ed5cf2c9e2 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileRepository.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileRepository.java @@ -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 class FileRepository extends Repository { /** {@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(); } |