mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
insert cast for java 8 compiler
This commit is contained in:
@@ -100,7 +100,7 @@ public class MqPatchTest extends HgPlatformTest {
|
||||
|
||||
private TimedVcsCommit getLastRevisionDetails() throws VcsException {
|
||||
//noinspection unchecked
|
||||
return ContainerUtil.getFirstItem(HgHistoryUtil.readAllHashes(myProject, myRepository, Consumer.EMPTY_CONSUMER,
|
||||
return (TimedVcsCommit)ContainerUtil.getFirstItem(HgHistoryUtil.readAllHashes(myProject, myRepository, Consumer.EMPTY_CONSUMER,
|
||||
Arrays.asList("-r", "tip")));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user