'final' operator fixed, uncessary methods removed
authorRoland Häder <roland@mxchange.org>
Sat, 8 Mar 2008 14:52:41 +0000 (14:52 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 8 Mar 2008 14:52:41 +0000 (14:52 +0000)
application/ship-simu/main/class_BasePersonell.php
application/ship-simu/main/structures/extended/decks/cargo/class_CarDeck.php
application/ship-simu/main/structures/extended/decks/cargo/class_TrainDeck.php
application/ship-simu/main/structures/extended/decks/cargo/class_TruckDeck.php

index 848989c..d77fbaa 100644 (file)
@@ -162,7 +162,7 @@ class BasePersonell extends BaseFrameworkSystem implements Personellizer {
        }
 
        // Getter for surname
-       public final function getSurname () {
+       public function getSurname () {
                return $this->surname;
        }
 
index 397b348..7369fd2 100644 (file)
@@ -76,16 +76,6 @@ class CarDeck extends BaseDeck implements ItemIsTradeable, ConstructableShipPart
                parent::removeNumDecks();
        }
 
-       // Setter-Methode fuer Anzahl Decks
-       public final function setNumDecks($numDecks) {
-               parent::setNumDecks($numDecks);
-       }
-
-       // Getter-Methode fuer Anzahl Decks
-       public final function getNumDecks() {
-               return parent::getNumDecks();
-       }
-
        // Overwritten method for tradeable items
        public function isTradeable () {
                return true;
index 4c26c39..d9c7990 100644 (file)
@@ -76,16 +76,6 @@ class TrainDeck extends BaseDeck implements ItemIsTradeable, ConstructableShipPa
                parent::removeNumDecks();
        }
 
-       // Setter-Methode fuer Anzahl Decks
-       public final function setNumDecks ($numDecks) {
-               parent::setNumDecks($numDecks);
-       }
-
-       // Getter-Methode fuer Anzahl Decks
-       public final function getNumDecks() {
-               return parent::getNumDecks();
-       }
-
        // Overwritten method for tradeable items
        public function isTradeable () {
                return true;
index 99c901a..04823a2 100644 (file)
@@ -77,16 +77,6 @@ class TruckDeck extends BaseDeck implements ItemIsTradeable, ConstructableShipPa
                parent::removeNumDecks();
        }
 
-       // Setter-Methode fuer Anzahl Decks
-       public final function setNumDecks ($numDecks) {
-               parent::setNumDecks($numDecks);
-       }
-
-       // Getter-Methode fuer Anzahl Decks
-       public final function getNumDecks() {
-               return parent::getNumDecks();
-       }
-
        // Overwritten method for tradeable items
        public function isTradeable () {
                return true;