提交 cc4312c1 编写于 作者: E Eduardo Ramos

Remove unnecessary check

上级 b91ecc8d
...@@ -303,9 +303,6 @@ public class DefaultProcessor extends AbstractProcessor { ...@@ -303,9 +303,6 @@ public class DefaultProcessor extends AbstractProcessor {
//Actually it's directed so we can create the opposite directed edge, not incompatible //Actually it's directed so we can create the opposite directed edge, not incompatible
edge = null; edge = null;
} }
} else {
//Undirected but opposite edges are not compatible, check for it
edge = graph.getEdge(target, source, edgeType);
} }
} else { } else {
if (edge.isDirected() == directed) { if (edge.isDirected() == directed) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册