Skip to content

Commit

Permalink
review comment: use 2 spaces instead of tab
Browse files Browse the repository at this point in the history
  • Loading branch information
evie404 committed May 11, 2019
1 parent a867564 commit 9eb7b6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ public void endVisit() {
public void visitEdge(Node<T> lhs, Node<T> rhs) {
String s_lhs = disp.serialize(lhs);
String s_rhs = disp.serialize(rhs);
out.println("\t\"" + s_lhs + "\" -> \"" + s_rhs + "\"");
out.println(" \"" + s_lhs + "\" -> \"" + s_rhs + "\"");
}

@Override
public void visitNode(Node<T> node) {
out.println("\t\"" + disp.serialize(node) + "\"");
out.println(" \"" + disp.serialize(node) + "\"");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private void outputUnfactored(
public void beginVisit() {
super.beginVisit();
// TODO(bazel-team): (2009) make this the default in Digraph.
out.printf("\tnode [shape=box];%s", options.getLineTerminator());
out.printf(" node [shape=box];%s", options.getLineTerminator());
}

@Override
Expand All @@ -103,7 +103,7 @@ public void visitEdge(Node<Target> lhs, Node<Target> rhs) {
getConditionsGraphLabel(
ImmutableSet.of(lhs), ImmutableSet.of(rhs), conditionalEdges);
if (!outputLabel.isEmpty()) {
out.printf("\t[label=\"%s\"];\n", outputLabel);
out.printf(" [label=\"%s\"];\n", outputLabel);
}
}
},
Expand Down

0 comments on commit 9eb7b6d

Please sign in to comment.