SafetyMutex and rocket optimization updates
[debian/openrocket] / src / net / sf / openrocket / rocketcomponent / Visitor.java
index 2e689ea6b9af8986516c232f58ca6e46ba3253df..edb39f2b1e8e1c7dbe2f5c60325ddc201bea3e6d 100644 (file)
@@ -8,11 +8,11 @@ package net.sf.openrocket.rocketcomponent;
  * The elements of the concrete object hierarchy are only visitable by an associated hierarchy of visitors, 
  * while these visitors are only able to visit the elements of that hierarchy. 
  * 
- * The key concept regarding the Visitor pattern is to realize that Java will only ÒdiscriminateÓ the type of an 
+ * The key concept regarding the Visitor pattern is to realize that Java will only "discriminate" the type of an 
  * object being called, not the type of an object being passed.
  *
  * In order for the type of two objects to be determinable to the JVM, each object must be the receiver of an
- * invocation. Here, when accept is called on a Visitable, the concrete type of the Visitable becomes ÒknownÓ but the 
+ * invocation. Here, when accept is called on a Visitable, the concrete type of the Visitable becomes "known" but the 
  * concrete type of the argument is still unknown.  <code>visit</code> is then called on the parameter object, passing 
  * the Visitable back, which has type and identity. Flow of control has now been 'double-dispatched' such that the 
  * type (and identity) of both objects are known. 
@@ -28,12 +28,12 @@ package net.sf.openrocket.rocketcomponent;
  * <T> The visitable 
  */
 public interface Visitor<V extends Visitor<V, T>, T extends Visitable<V, T>> {
-
-    /**
-     * The callback method.  This method is the 2nd leg of the double-dispatch, having been invoked from a 
-     * corresponding <code>accept</code>.
-     *           
-     * @param visitable  the instance of the Visitable (the target of what is being visiting)
-     */
-    void visit(T visitable);
+       
+       /**
+        * The callback method.  This method is the 2nd leg of the double-dispatch, having been invoked from a 
+        * corresponding <code>accept</code>.
+        *           
+        * @param visitable  the instance of the Visitable (the target of what is being visiting)
+        */
+       void visit(T visitable);
 }
\ No newline at end of file