← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2762: Changed Grid constructor, fixed sloppy mistake

 

------------------------------------------------------------
revno: 2762
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2011-01-26 12:36:59 +0100
message:
  Changed Grid constructor, fixed sloppy mistake
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/GridHeader.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/common/GridHeader.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/GridHeader.java	2011-01-26 11:28:54 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/GridHeader.java	2011-01-26 11:36:59 +0000
@@ -154,6 +154,6 @@
         
         final GridHeader other = (GridHeader) object;
         
-        return column.equals( other.name );
+        return name.equals( other.name );
     }
 }