← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9220: FRED-API: minor fix

 

------------------------------------------------------------
revno: 9220
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2012-12-08 11:34:07 +0300
message:
  FRED-API: minor fix
modified:
  dhis-2/dhis-web/dhis-web-api-fred/src/main/java/org/hisp/dhis/web/webapi/v1/domain/Facility.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-web/dhis-web-api-fred/src/main/java/org/hisp/dhis/web/webapi/v1/domain/Facility.java'
--- dhis-2/dhis-web/dhis-web-api-fred/src/main/java/org/hisp/dhis/web/webapi/v1/domain/Facility.java	2012-12-08 08:31:02 +0000
+++ dhis-2/dhis-web/dhis-web-api-fred/src/main/java/org/hisp/dhis/web/webapi/v1/domain/Facility.java	2012-12-08 08:34:07 +0000
@@ -44,8 +44,8 @@
 {
     // Internal system identifier
     @Length( min = 11, max = 11, groups = { Create.class, Update.class } )
-    @NotNull( groups = { Update.class } )
-    @Null( groups = { Create.class } )
+    @NotNull( groups = Update.class )
+    @Null( groups = Create.class )
     @IdentifiableObjectExists( value = OrganisationUnit.class, groups = Update.class )
     private String id;