Checkstyle.

This commit is contained in:
Doublestrike
2012-05-27 01:34:54 +00:00
parent 7747c590f9
commit d4699f3f0f
2 changed files with 15 additions and 19 deletions

View File

@@ -33,10 +33,7 @@ import forge.quest.QuestUtilCards;
import forge.quest.bazaar.QuestItemType;
import forge.quest.data.QuestPreferences.QPref;
/**
* TODO: Write javadoc for this type.
*
*/
/** */
public class QuestAssets {
// Cards associated with quest
@@ -125,8 +122,6 @@ public class QuestAssets {
try { // care to set appropriate state class here
cond = itemType.getModelClass().newInstance();
} catch (final Exception e) {
// TODO Auto-generated catch block ignores the exception, but
// sends it to System.err and probably forge.log.
e.printStackTrace();
cond = new QuestItemCondition();
}
@@ -136,8 +131,6 @@ public class QuestAssets {
}
/**
*
* TODO: Write javadoc for this method.
* @param name String
* @return int
*/
@@ -147,8 +140,6 @@ public class QuestAssets {
}
/**
*
* TODO: Write javadoc for this method.
* @param name   String
* @param <T> extends QuestItemCondition
* @return <T>
@@ -159,8 +150,6 @@ public class QuestAssets {
}
/**
*
* TODO: Write javadoc for this method.
* @param name String
* @param level int
*/
@@ -265,8 +254,6 @@ public class QuestAssets {
}
/**
* TODO: Write javadoc for this method.
*
* @return the deck storage
*/
public QuestDeckMap getDeckStorage() {

View File

@@ -6,22 +6,31 @@ package forge.quest.data;
*/
public class QuestItemCondition {
private int level;
private boolean selected = false;
/**
* TODO: Write javadoc for this method.
* @return
*/
/** @return int */
public int getLevel() {
return level;
}
/** @param level int */
public void setLevel(int level) {
this.level = level;
}
/** @return boolean */
public boolean isSelected() {
return selected;
}
/** @param selected0 &emsp; boolean */
public void setSelected(boolean selected0) {
this.selected = selected0;
}
/**
* Copy data from the parameter instance to 'this' instance.
* @param current
* @param source QuestItemCondition
*/
public void takeDataFrom(QuestItemCondition source) {
this.level = source.level;