Skip to content

Commit c0ba022

Browse files
committed
Fix compile error in MorphVis
With the update to metafacture-core 3.0.0 the interface of AbstractMetamorphDomWalker changed.
1 parent 58446ad commit c0ba022

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/main/java/org/culturegraph/mf/runner/MorphVis.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,12 @@
2323
import java.io.Writer;
2424

2525
import 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
*/
3334
public 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
}

0 commit comments

Comments
 (0)