=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/interpretation/Interpretation.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/interpretation/Interpretation.java 2015-10-13 10:18:02 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/interpretation/Interpretation.java 2015-10-14 07:25:31 +0000 @@ -62,11 +62,6 @@ public class Interpretation extends BaseIdentifiableObject { - public static final String TYPE_CHART = "chart"; - public static final String TYPE_MAP = "map"; - public static final String TYPE_REPORT_TABLE = "reportTable"; - public static final String TYPE_DATASET_REPORT = "dataSetReport"; - private Chart chart; private Map map; === modified file 'dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/interpretation/action/GetInterpretations.java' --- dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/interpretation/action/GetInterpretations.java 2015-01-17 07:41:26 +0000 +++ dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/interpretation/action/GetInterpretations.java 2015-10-14 07:25:31 +0000 @@ -34,6 +34,7 @@ import java.util.Iterator; import java.util.List; +import org.hisp.dhis.analytics.AnalyticsFavoriteType; import org.hisp.dhis.interpretation.Interpretation; import org.hisp.dhis.interpretation.InterpretationService; @@ -90,7 +91,7 @@ { Interpretation currentInterpretation = i.next(); - if ( currentInterpretation.getType().equals( Interpretation.TYPE_CHART ) ) + if ( currentInterpretation.getType() == AnalyticsFavoriteType.CHART ) { finalInterpretations.add( currentInterpretation ); }