Removed AvoidStarImport Rule

Added JavaDocType Rule
This commit is contained in:
Mudit Porwal
2017-03-22 01:16:01 +08:00
parent 175e9f58c1
commit 09585c3874
105 changed files with 577 additions and 284 deletions

View File

@ -22,6 +22,9 @@
*/
package com.iluwatar.factorykit;
/**
* Class representing Axe
*/
public class Axe implements Weapon {
@Override
public String toString() {

View File

@ -22,6 +22,9 @@
*/
package com.iluwatar.factorykit;
/**
* Class representing Bows
*/
public class Bow implements Weapon {
@Override
public String toString() {

View File

@ -21,7 +21,9 @@
* THE SOFTWARE.
*/
package com.iluwatar.factorykit;
/**
* Class representing Spear
*/
public class Spear implements Weapon {
@Override
public String toString() {

View File

@ -21,7 +21,9 @@
* THE SOFTWARE.
*/
package com.iluwatar.factorykit;
/**
* Class representing Swords
*/
public class Sword implements Weapon {
@Override
public String toString() {

View File

@ -25,6 +25,9 @@ package com.iluwatar.factorykit.app;
import com.iluwatar.factorykit.App;
import org.junit.Test;
/**
* Application Test Entrypoint
*/
public class AppTest {
@Test

View File

@ -1,4 +1,4 @@
/**
/**
* The MIT License
* Copyright (c) 2014-2016 Ilkka Seppälä
*
@ -22,12 +22,19 @@
*/
package com.iluwatar.factorykit.factorykit;
import com.iluwatar.factorykit.*;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.assertTrue;
import com.iluwatar.factorykit.Axe;
import com.iluwatar.factorykit.Spear;
import com.iluwatar.factorykit.Sword;
import com.iluwatar.factorykit.Weapon;
import com.iluwatar.factorykit.WeaponFactory;
import com.iluwatar.factorykit.WeaponType;
import org.junit.Before;
import org.junit.Test;
/**
* Test Factory Kit Pattern
*/
public class FactoryKitTest {
private WeaponFactory factory;