diff options
author | Jonathan Nieder <jrn@google.com> | 2018-04-29 17:15:18 -0700 |
---|---|---|
committer | Jonathan Nieder <jrn@google.com> | 2018-04-29 17:19:43 -0700 |
commit | 0a35e5f25bb6b865b90678f0589f97407f461f9c (patch) | |
tree | f99ac4de362be152ee5c99bb962530c93d6ce63d /LICENSE | |
parent | 9fb724f1b9f9f6920852a922abe2c316fc8d25d6 (diff) | |
download | jgit-0a35e5f25bb6b865b90678f0589f97407f461f9c.tar.gz jgit-0a35e5f25bb6b865b90678f0589f97407f461f9c.zip |
Rename RefDatabase#getAllRefs to getRefs
This is easier to type and makes it clearer that it only returns refs
and not the pseudo-refs returned by getAdditionalRefs. It also puts us
in a better position to add a method to the Repository class later
that delegates to this one without colliding with the existing
Repository#getAllRefs method that returns a Map<String, Ref>.
While at it, clarify the javadoc of getRefs and hasRefs to make the
same point.
Suggested-by: David Pursehouse <david.pursehouse@gmail.com>
Change-Id: I23497c66ac7b5e0c987b91efbc9e9cc29924ca66
Signed-off-by: Jonathan Nieder <jrn@google.com>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions