dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #28609
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 14296: code style
------------------------------------------------------------
revno: 14296
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2014-03-19 16:46:58 +0100
message:
code style
modified:
dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/filter/DefaultFilterService.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-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/filter/DefaultFilterService.java'
--- dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/filter/DefaultFilterService.java 2014-03-19 15:46:00 +0000
+++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/filter/DefaultFilterService.java 2014-03-19 15:46:58 +0000
@@ -124,7 +124,7 @@
return output;
}
- @SuppressWarnings("unchecked")
+ @SuppressWarnings( "unchecked" )
private Map<String, Object> buildObjectOutput( Object object, Map<String, Map> fieldMap )
{
if ( object == null )
@@ -200,7 +200,7 @@
return getIdentifiableObjectCollectionProperties( object, fields );
}
- @SuppressWarnings("unchecked")
+ @SuppressWarnings( "unchecked" )
private List<Map<String, Object>> getIdentifiableObjectCollectionProperties( Object object, List<String> fields )
{
List<Map<String, Object>> output = Lists.newArrayList();
@@ -256,7 +256,7 @@
return idProps;
}
- @SuppressWarnings("unchecked")
+ @SuppressWarnings( "unchecked" )
private <T extends IdentifiableObject> boolean evaluateWithFilters( T object, Filters filters )
{
Map<String, ReflectionUtils.PropertyDescriptor> classMap = ReflectionUtils.getJacksonClassMap( object.getClass() );