------------------------------------------------------------ revno: 20294 committer: Lars Helge Overland <larshe...@gmail.com> branch nick: dhis2 timestamp: Tue 2015-09-22 15:29:05 +0200 message: Added @component to FileResourceSchemaDescriptor modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/descriptors/FileResourceSchemaDescriptor.java
-- lp:dhis2 https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk Your team DHIS 2 developers is subscribed to branch lp:dhis2. To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/descriptors/FileResourceSchemaDescriptor.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/descriptors/FileResourceSchemaDescriptor.java 2015-09-22 13:25:37 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/descriptors/FileResourceSchemaDescriptor.java 2015-09-22 13:29:05 +0000 @@ -33,10 +33,12 @@ import org.hisp.dhis.schema.SchemaDescriptor; import org.hisp.dhis.security.Authority; import org.hisp.dhis.security.AuthorityType; +import org.springframework.stereotype.Component; /** * @author Halvdan Hoem Grelland */ +@Component public class FileResourceSchemaDescriptor implements SchemaDescriptor { @@ -46,7 +48,8 @@ public static final String API_ENDPOINT = "/" + PLURAL; - @Override public Schema getSchema() + @Override + public Schema getSchema() { Schema schema = new Schema( FileResource.class, SINGULAR, PLURAL ); schema.setRelativeApiEndpoint( API_ENDPOINT );
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp