← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 15579: minor rename in DefaultFilterSERvice

 

------------------------------------------------------------
revno: 15579
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2014-06-07 08:08:25 +0200
message:
  minor rename in DefaultFilterSERvice
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-06-06 17:38:09 +0000
+++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/filter/DefaultFilterService.java	2014-06-07 06:08:25 +0000
@@ -282,13 +282,13 @@
             }
         }
 
-        for ( String ignore : cleanupFields )
+        for ( String field : cleanupFields )
         {
-            fieldMap.remove( ignore );
+            fieldMap.remove( field );
 
             if ( !expandOnly )
             {
-                fieldMap.remove( ignore.substring( 1 ) );
+                fieldMap.remove( field.substring( 1 ) );
             }
         }
     }