Commit 00925825 authored by Tuukka Lehtonen's avatar Tuukka Lehtonen
Browse files

No trailing semicolon after closing brace in digraph

It causes stderr syntax error prints like this:
```
Error: <stdin>: syntax error in line 121 near ';'
```

gitlab #730
parent b621fb40
......@@ -20,7 +20,7 @@ import java.util.Collections;
/**
* Root graph that contains nodes, edges and subgraphs.
*
* @author Hannu Niemist
* @author Hannu Niemist
*/
public class Graph extends AbstractAttributeContainer implements IGraph {
Collection<IGraphPart> parts = new ArrayList<IGraphPart>();
......@@ -56,7 +56,7 @@ public class Graph extends AbstractAttributeContainer implements IGraph {
writeAttributes(s);
for(IGraphPart part : parts)
part.write(s);
s.println("};");
s.println("}");
}
@Override
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment