diff options
author | Jonathan Nieder <jrn@google.com> | 2015-11-11 14:51:02 -0800 |
---|---|---|
committer | Jonathan Nieder <jrn@google.com> | 2018-12-26 14:33:13 -0800 |
commit | 9895338de1c92d09fe82ec927e5ffd2da0973084 (patch) | |
tree | f2f0ac31a6a95df53a1ba35470606f60b45583e7 /org.eclipse.jgit.test/tst | |
parent | f46e223187387f50f5e09702fc033e4845bb3bf1 (diff) | |
download | jgit-9895338de1c92d09fe82ec927e5ffd2da0973084.tar.gz jgit-9895338de1c92d09fe82ec927e5ffd2da0973084.zip |
RefDatabase: Remove fallback exactRef implementation
This is simpler to implement than getRef. Make it abstract so
implementers remember to override it.
Change-Id: I5f319be1fb1206d7a0142ea939dc4e1039f850ab
Signed-off-by: Jonathan Nieder <jrn@google.com>
Diffstat (limited to 'org.eclipse.jgit.test/tst')
-rw-r--r-- | org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/RefDatabaseConflictingNamesTest.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/RefDatabaseConflictingNamesTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/RefDatabaseConflictingNamesTest.java index 1c21194248..3798858414 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/RefDatabaseConflictingNamesTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/RefDatabaseConflictingNamesTest.java @@ -95,6 +95,11 @@ public class RefDatabaseConflictingNamesTest { } @Override + public Ref exactRef(String name) throws IOException { + return null; + } + + @Override public Ref getRef(String name) throws IOException { return null; } |