Skip to content

Commit

Permalink
Fix compile error in MorphVis
Browse files Browse the repository at this point in the history
With the update to metafacture-core 3.0.0 the interface of
AbstractMetamorphDomWalker changed.
  • Loading branch information
cboehme committed Feb 2, 2015
1 parent 58446ad commit c0ba022
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/main/java/org/culturegraph/mf/runner/MorphVis.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@
import java.io.Writer;

import org.culturegraph.mf.morph.MorphVisualizer;
import org.xml.sax.InputSource;


/**
* Generates a graphviz dot file based on a Metamorph definition.
*
*
* @author Markus Michael Geipel
*/
public final class MorphVis {
Expand All @@ -39,7 +40,7 @@ private MorphVis() {/* no instances */

/**
* @param args
*
*
* @throws IOException
*/
public static void main(final String[] args) throws IOException {
Expand All @@ -54,8 +55,8 @@ public static void main(final String[] args) throws IOException {
return;
}
final MorphVisualizer visualizer = new MorphVisualizer(out);
visualizer.walk(new FileReader(args[0]));
visualizer.walk(new InputSource(new FileReader(args[0])));
}


}

0 comments on commit c0ba022

Please sign in to comment.