Updated Branches: refs/heads/master 1cc2d6782 -> 4ba5689b3
Uses proper tagging for snippets Project: http://git-wip-us.apache.org/repos/asf/struts/repo Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/4ba5689b Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/4ba5689b Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/4ba5689b Branch: refs/heads/master Commit: 4ba5689b37cce04b102ad4815b95515ef8643fc0 Parents: 1cc2d67 Author: Lukasz Lenart <lukaszlen...@apache.org> Authored: Mon Jan 20 09:19:19 2014 +0100 Committer: Lukasz Lenart <lukaszlen...@apache.org> Committed: Mon Jan 20 09:20:02 2014 +0100 ---------------------------------------------------------------------- .../java/org/apache/struts2/sitegraph/SiteGraph.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/struts/blob/4ba5689b/plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/SiteGraph.java ---------------------------------------------------------------------- diff --git a/plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/SiteGraph.java b/plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/SiteGraph.java index 03ead1f..2a30c34 100644 --- a/plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/SiteGraph.java +++ b/plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/SiteGraph.java @@ -29,19 +29,19 @@ import org.apache.struts2.sitegraph.renderers.DOTRenderer; import java.io.*; /** - * // START SNIPPET: javadocs-intro + * <!-- START SNIPPET: javadocs-intro --> * SiteGraph is a tool that renders out GraphViz-generated images depicting your * Struts-powered web application's flow. SiteGraph requires GraphViz be installed * and that the "dot" executable be in your command path. You can find GraphViz * at http://www.graphviz.org. - * // END SNIPPET: javadocs-intro + * <!-- END SNIPPET: javadocs-intro --> * <p/> - * // START SNIPPET: javadocs-api + * <!-- START SNIPPET: javadocs-api --> * If you wish to use SiteGraph through its API rather than through the command line, * you can do that as well. All you need to do is create a new SiteGraph instance, * optionally specify a {@link Writer} to output the dot content to, and then call * {@link #prepare()}. - * // END SNIPPET: javadocs-api + * <!-- END SNIPPET: javadocs-api --> */ public class SiteGraph { @@ -86,11 +86,11 @@ public class SiteGraph { String output = getArg(args, "output"); String namespace = getArg(args, "ns"); - // START SNIPPET: example-api + /** <!-- START SNIPPET: example-api --> */ SiteGraph siteGraph = new SiteGraph(configDir, views, output, namespace); siteGraph.prepare(); siteGraph.render(); - // END SNIPPET: example-api + /** <!-- END SNIPPET: example-api --> */ } private static String getArg(String[] args, String arg) {