Skip to content

Commit

Permalink
Checkstyle fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ameenhere committed Dec 23, 2024
1 parent 1a53206 commit e66577d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit e66577d

Please sign in to comment.