mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
VCS: small correction to load revision content
This commit is contained in:
@@ -82,8 +82,8 @@ public class VcsHistoryUtil {
|
||||
byte[] content = revision.getContent();
|
||||
if (content == null) {
|
||||
revision.loadContent();
|
||||
content = revision.getContent();
|
||||
}
|
||||
content = revision.getContent();
|
||||
if (content == null) throw new VcsException("Failed to load content for revision " + revision.getRevisionNumber().asString());
|
||||
return content;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user