mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[git] @NotNull
This commit is contained in:
@@ -101,9 +101,11 @@ public class DetailsCache {
|
||||
}
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public List<String> getBranches(final VirtualFile root, final AbstractHash hash) {
|
||||
synchronized (myLock) {
|
||||
return myBranches.get(new Pair<VirtualFile, AbstractHash>(root, hash));
|
||||
List<String> branches = myBranches.get(new Pair<VirtualFile, AbstractHash>(root, hash));
|
||||
return branches == null ? Collections.<String>emptyList() : branches;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user