File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/main/java/org/culturegraph/mf/runner Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 2323import java .io .Writer ;
2424
2525import org .culturegraph .mf .morph .MorphVisualizer ;
26+ import org .xml .sax .InputSource ;
2627
2728
2829/**
2930 * Generates a graphviz dot file based on a Metamorph definition.
30- *
31+ *
3132 * @author Markus Michael Geipel
3233 */
3334public final class MorphVis {
@@ -39,7 +40,7 @@ private MorphVis() {/* no instances */
3940
4041 /**
4142 * @param args
42- *
43+ *
4344 * @throws IOException
4445 */
4546 public static void main (final String [] args ) throws IOException {
@@ -54,8 +55,8 @@ public static void main(final String[] args) throws IOException {
5455 return ;
5556 }
5657 final MorphVisualizer visualizer = new MorphVisualizer (out );
57- visualizer .walk (new FileReader (args [0 ]));
58+ visualizer .walk (new InputSource ( new FileReader (args [0 ]) ));
5859 }
5960
60-
61+
6162}
You can’t perform that action at this time.
0 commit comments