Removed DOCUMENT ME comments that were generated and applied source code
[utils] / system / general / src / main / java / org / wamblee / system / graph / component / CheckExternallyProvidedVisitor.java
index 457ae1d82942cfbba20e03bb11500ceaccacd3b0..fcb10339570b542f2a19f69b8d71701ab0b8dcd9 100644 (file)
@@ -23,68 +23,50 @@ import org.wamblee.system.graph.Visitor;
 
 import java.util.List;
 
-
 /**
- * Visitor that checks whether all externally provided interfaces are
- * actually provided  by any of the internal components.
- *
+ * Visitor that checks whether all externally provided interfaces are actually
+ * provided by any of the internal components.
+ * 
  * @author Erik Brakkee
  */
 public class CheckExternallyProvidedVisitor implements Visitor {
-    /**
-     * DOCUMENT ME!
-     */
     private Graph graph;
 
-/**
-     * Constructs the visitor. 
-     * @param aGraph Component graph. 
+    /**
+     * Constructs the visitor.
+     * 
+     * @param aGraph
+     *            Component graph.
      */
     public CheckExternallyProvidedVisitor(Graph aGraph) {
         graph = aGraph;
     }
 
-    /**
-     * DOCUMENT ME!
-     *
-     * @param aEdge DOCUMENT ME!
-     */
     @Override
     public void visitEdge(Edge aEdge) {
         // Empty.
     }
 
-    /**
-     * DOCUMENT ME!
-     *
-     * @param aNode DOCUMENT ME!
-     */
     @Override
     public void visitNode(Node aNode) {
         if (aNode instanceof ExternalProvidedInterfaceNode) {
             ExternalProvidedInterfaceNode provided = (ExternalProvidedInterfaceNode) aNode;
-            List<Edge>                    edges    = graph
-                .findOutgoing(provided);
+            List<Edge> edges = graph.findOutgoing(provided);
 
             if (edges.size() > 2) {
-                createDuplicateException("External provided interfaces has multiple internal matches",
+                createDuplicateException(
+                    "External provided interfaces has multiple internal matches",
                     aNode, edges);
             }
 
             if (edges.size() == 0) {
-                throw new SystemAssemblyException(aNode
-                    + ": external provded interface is not provided by any of the internal components");
+                throw new SystemAssemblyException(
+                    aNode +
+                        ": external provded interface is not provided by any of the internal components");
             }
         }
     }
 
-    /**
-     * DOCUMENT ME!
-     *
-     * @param aMsg DOCUMENT ME!
-     * @param aNode DOCUMENT ME!
-     * @param edges DOCUMENT ME!
-     */
     private void createDuplicateException(String aMsg, Node aNode,
         List<Edge> edges) {
         StringBuffer buf = new StringBuffer();