← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 782: Minor fix.

 

------------------------------------------------------------
revno: 782
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Mon 2009-09-28 00:48:51 +0200
message:
  Minor fix.
modified:
  dhis-2/dhis-web/dhis-web-dataentry/src/main/java/org/hisp/dhis/de/screen/DefaultDataEntryScreenManager.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-dataentry/src/main/java/org/hisp/dhis/de/screen/DefaultDataEntryScreenManager.java'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/java/org/hisp/dhis/de/screen/DefaultDataEntryScreenManager.java	2009-09-27 22:30:31 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/java/org/hisp/dhis/de/screen/DefaultDataEntryScreenManager.java	2009-09-27 22:48:51 +0000
@@ -97,8 +97,7 @@
 
     private DataElementCategoryOptionComboService dataElementCategoryOptionComboService;
 
-    public void setDataElementCategoryOptionComboService(
-        DataElementCategoryOptionComboService dataElementCategoryOptionComboService )
+    public void setDataElementCategoryOptionComboService( DataElementCategoryOptionComboService dataElementCategoryOptionComboService )
     {
         this.dataElementCategoryOptionComboService = dataElementCategoryOptionComboService;
     }
@@ -515,7 +514,7 @@
                 {
                     appendCode += jsCodeForInputs;
 
-                    if ( dataElement.getType().equalsIgnoreCase( "int" ) )
+                    if ( dataElement.getType().equals( TYPE_INT ) )
                     {
                         appendCode += historyCode;
                     }
@@ -783,7 +782,7 @@
                 {
                     appendCode += jsCodeForInputs;
 
-                    if ( dataElement.getType().equalsIgnoreCase( "int" ) )
+                    if ( dataElement.getType().equals( TYPE_INT ) )
                     {
                         appendCode += historyCode;
                     }