public HabitItem.getType

This commit is contained in:
Negue 2015-07-11 20:46:15 +02:00
parent 08c9ab0fe1
commit e52f10b83c
5 changed files with 5 additions and 5 deletions

View file

@ -92,7 +92,7 @@ public class Daily extends Checklist{
this.repeat = repeat;
}
@Override
protected HabitType getType() {
public HabitType getType() {
return type;
}
/**

View file

@ -69,7 +69,7 @@ public class Habit extends HabitItem{
this.down = down;
}
@Override
protected HabitType getType() {
public HabitType getType() {
return type;
}

View file

@ -149,7 +149,7 @@ public abstract class HabitItem extends BaseModel {
* Returns a string of the type of the HabitItem
* @return the string of the Item type
*/
protected abstract HabitType getType();
public abstract HabitType getType();
/**
* Creates a JSON String for this HabitItem using the basic information.<br>

View file

@ -46,7 +46,7 @@ public class Reward extends HabitItem{
}
@Override
protected HabitType getType() {
public HabitType getType() {
return type;
}

View file

@ -81,7 +81,7 @@ public class ToDo extends Checklist{
}
@Override
protected HabitType getType() {
public HabitType getType() {
return type;
}