java JGit LogCommand有时在创建后可调用为false
很奇怪,
当我跑的时候
LogCommand log= new Git(repository).log();
当你做的时候它失败了
log.call().iterator() since callable is false in LogCommand.
这是随机发生的,非常奇怪
有人看到这个问题吗
你可以在下面搜索框中键入要查询的问题!
很奇怪,
当我跑的时候
LogCommand log= new Git(repository).log();
当你做的时候它失败了
log.call().iterator() since callable is false in LogCommand.
这是随机发生的,非常奇怪
有人看到这个问题吗
# 1 楼答案
仔细检查代码,最确定的是
callable
是false
,因为您已经调用了该命令如果查看
LogCommand
源代码,就会发现callable
在call
方法的末尾被设置为false
。这是唯一一个挂国旗的地方