← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19913: minor fix, add missing @Component annotation on Color* SchemaDescriptors

 

------------------------------------------------------------
revno: 19913
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2015-09-01 09:35:19 +0700
message:
  minor fix, add missing @Component annotation on Color* SchemaDescriptors
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/descriptors/ColorSchemaDescriptor.java
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/descriptors/ColorSetSchemaDescriptor.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/ColorSchemaDescriptor.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/descriptors/ColorSchemaDescriptor.java	2015-08-31 14:41:00 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/descriptors/ColorSchemaDescriptor.java	2015-09-01 02:35:19 +0000
@@ -35,10 +35,12 @@
 import org.hisp.dhis.security.AuthorityType;
 
 import com.google.common.collect.Lists;
+import org.springframework.stereotype.Component;
 
 /**
  * @author Lars Helge Overland
  */
+@Component
 public class ColorSchemaDescriptor implements SchemaDescriptor
 {
     public static final String SINGULAR = "color";

=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/descriptors/ColorSetSchemaDescriptor.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/descriptors/ColorSetSchemaDescriptor.java	2015-08-31 14:41:00 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/descriptors/ColorSetSchemaDescriptor.java	2015-09-01 02:35:19 +0000
@@ -35,10 +35,12 @@
 import org.hisp.dhis.security.AuthorityType;
 
 import com.google.common.collect.Lists;
+import org.springframework.stereotype.Component;
 
 /**
  * @author Lars Helge Overland
  */
+@Component
 public class ColorSetSchemaDescriptor implements SchemaDescriptor
 {
     public static final String SINGULAR = "colorSet";