diff --git a/dhis-2/dhis-services/dhis-service-schema/src/main/java/org/hisp/dhis/schema/descriptors/EnrollmentSchemaDescriptor.java b/dhis-2/dhis-services/dhis-service-schema/src/main/java/org/hisp/dhis/schema/descriptors/EnrollmentSchemaDescriptor.java index 77d96bad094..c92a250ae22 100644 --- a/dhis-2/dhis-services/dhis-service-schema/src/main/java/org/hisp/dhis/schema/descriptors/EnrollmentSchemaDescriptor.java +++ b/dhis-2/dhis-services/dhis-service-schema/src/main/java/org/hisp/dhis/schema/descriptors/EnrollmentSchemaDescriptor.java @@ -32,15 +32,14 @@ import org.hisp.dhis.schema.SchemaDescriptor; public class EnrollmentSchemaDescriptor implements SchemaDescriptor { - public static final String SINGULAR = "programInstance"; + public static final String SINGULAR = "programInstance"; - public static final String PLURAL = "programInstances"; + public static final String PLURAL = "programInstances"; - public static final String API_ENDPOINT = "/" + PLURAL; + public static final String API_ENDPOINT = "/" + PLURAL; - @Override - public Schema getSchema() { - return new Schema(Enrollment.class, SINGULAR, PLURAL); - } + @Override + public Schema getSchema() { + return new Schema(Enrollment.class, SINGULAR, PLURAL); + } } - diff --git a/dhis-2/dhis-services/dhis-service-schema/src/main/java/org/hisp/dhis/schema/descriptors/EventSchemaDescriptor.java b/dhis-2/dhis-services/dhis-service-schema/src/main/java/org/hisp/dhis/schema/descriptors/EventSchemaDescriptor.java index 12dd036eaee..4452e89d80f 100644 --- a/dhis-2/dhis-services/dhis-service-schema/src/main/java/org/hisp/dhis/schema/descriptors/EventSchemaDescriptor.java +++ b/dhis-2/dhis-services/dhis-service-schema/src/main/java/org/hisp/dhis/schema/descriptors/EventSchemaDescriptor.java @@ -32,14 +32,14 @@ import org.hisp.dhis.schema.SchemaDescriptor; public class EventSchemaDescriptor implements SchemaDescriptor { - public static final String SINGULAR = "programStageInstance"; + public static final String SINGULAR = "programStageInstance"; - public static final String PLURAL = "programStageInstances"; + public static final String PLURAL = "programStageInstances"; - public static final String API_ENDPOINT = "/" + PLURAL; + public static final String API_ENDPOINT = "/" + PLURAL; - @Override - public Schema getSchema() { - return new Schema(Event.class, SINGULAR, PLURAL); - } + @Override + public Schema getSchema() { + return new Schema(Event.class, SINGULAR, PLURAL); + } }