Merged l10n branch to trunk
[debian/openrocket] / src / net / sf / openrocket / rocketcomponent / Stage.java
index b984a2a5861f8de9d4c9394d29615641b200d77f..f5079bfe649d8935eadad95137e4c8ea5a045885 100644 (file)
@@ -4,7 +4,7 @@ import net.sf.openrocket.l10n.Translator;
 import net.sf.openrocket.startup.Application;
 
 public class Stage extends ComponentAssembly {
-       
+
        private static final Translator trans = Application.getTranslator();
 
     @Override
@@ -12,15 +12,15 @@ public class Stage extends ComponentAssembly {
        //// Stage
         return trans.get("Stage.Stage");
     }
-       
-       
+
+
        @Override
        public boolean allowsChildren() {
                return true;
        }
-       
+
     /**
-        * Check whether the given type can be added to this component.  A Stage allows 
+        * Check whether the given type can be added to this component.  A Stage allows
         * only BodyComponents to be added.
      *
      * @param type The RocketComponent class type to add.
@@ -31,14 +31,4 @@ public class Stage extends ComponentAssembly {
     public boolean isCompatible (Class<? extends RocketComponent> type) {
         return BodyComponent.class.isAssignableFrom(type);
     }
-
-    /**
-     * Accept a visitor to this Stage in the component hierarchy.
-     * 
-     * @param theVisitor  the visitor that will be called back with a reference to this Stage
-     */    
-    @Override 
-    public void accept (final ComponentVisitor theVisitor) {
-        theVisitor.visit(this);
-    }
 }