Create meaningful JavaDocs instead of author names
This commit is contained in:
@ -9,7 +9,8 @@ import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* Created by Srdjan on 26-Apr-17.
|
||||
* Anticipate that an object’s interface needs to be extended in the future.
|
||||
* Additional interfaces are defined by extension objects.
|
||||
*/
|
||||
public class App {
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
package abstractextensions;
|
||||
|
||||
/**
|
||||
* Created by Srdjan on 27-Apr-17.
|
||||
* Interface with their method
|
||||
*/
|
||||
public interface CommanderExtension extends UnitExtension {
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
package abstractextensions;
|
||||
|
||||
/**
|
||||
* Created by Srdjan on 27-Apr-17.
|
||||
* Interface with their method
|
||||
*/
|
||||
public interface SergeantExtension extends UnitExtension {
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
package abstractextensions;
|
||||
|
||||
/**
|
||||
* Created by Srdjan on 26-Apr-17.
|
||||
* Interface with their method
|
||||
*/
|
||||
public interface SoldierExtension extends UnitExtension {
|
||||
void soldierReady();
|
||||
|
@ -1,7 +1,7 @@
|
||||
package abstractextensions;
|
||||
|
||||
/**
|
||||
* Created by Srdjan on 26-Apr-17.
|
||||
* Other Extensions will extend this interface
|
||||
*/
|
||||
public interface UnitExtension {
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ import org.slf4j.LoggerFactory;
|
||||
import units.CommanderUnit;
|
||||
|
||||
/**
|
||||
* Created by Srdjan on 27-Apr-17.
|
||||
* Class defining Commander
|
||||
*/
|
||||
public class Commander implements CommanderExtension {
|
||||
|
||||
|
@ -6,7 +6,7 @@ import org.slf4j.LoggerFactory;
|
||||
import units.SergeantUnit;
|
||||
|
||||
/**
|
||||
* Created by Srdjan on 27-Apr-17.
|
||||
* Class defining Sergeant
|
||||
*/
|
||||
public class Sergeant implements SergeantExtension {
|
||||
|
||||
|
@ -6,7 +6,7 @@ import org.slf4j.LoggerFactory;
|
||||
import units.SoldierUnit;
|
||||
|
||||
/**
|
||||
* Created by Srdjan on 26-Apr-17.
|
||||
* Class defining Soldier
|
||||
*/
|
||||
public class Soldier implements SoldierExtension {
|
||||
|
||||
|
@ -4,7 +4,7 @@ import abstractextensions.UnitExtension;
|
||||
import concreteextensions.Commander;
|
||||
|
||||
/**
|
||||
* Created by Srdjan on 27-Apr-17.
|
||||
* Class defining CommanderUnit
|
||||
*/
|
||||
public class CommanderUnit extends Unit {
|
||||
|
||||
|
@ -4,7 +4,7 @@ import abstractextensions.UnitExtension;
|
||||
import concreteextensions.Sergeant;
|
||||
|
||||
/**
|
||||
* Created by Srdjan on 27-Apr-17.
|
||||
* Class defining SergeantUnit
|
||||
*/
|
||||
public class SergeantUnit extends Unit {
|
||||
|
||||
|
@ -4,7 +4,7 @@ import abstractextensions.UnitExtension;
|
||||
import concreteextensions.Soldier;
|
||||
|
||||
/**
|
||||
* Created by Srdjan on 26-Apr-17.
|
||||
* Class defining SoldierUnit
|
||||
*/
|
||||
public class SoldierUnit extends Unit {
|
||||
|
||||
|
@ -3,7 +3,7 @@ package units;
|
||||
import abstractextensions.UnitExtension;
|
||||
|
||||
/**
|
||||
* Created by Srdjan on 26-Apr-17.
|
||||
* Class defining Unit, other units will extend this class
|
||||
*/
|
||||
public class Unit {
|
||||
|
||||
|
Reference in New Issue
Block a user