dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #15229
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5421: Quickly fixed
------------------------------------------------------------
revno: 5421
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2011-12-14 18:16:09 +0100
message:
Quickly fixed
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/dataelement/AddDataElementAction.java
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/dataelement/UpdateDataElementAction.java
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/java/org/hisp/dhis/oum/action/organisationunit/UpdateOrganisationUnitAction.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-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/dataelement/AddDataElementAction.java'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/dataelement/AddDataElementAction.java 2011-10-05 15:00:45 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/dataelement/AddDataElementAction.java 2011-12-14 17:16:09 +0000
@@ -169,7 +169,7 @@
this.selectedCategoryComboId = selectedCategoryComboId;
}
- private Boolean zeroIsSignificant;
+ private boolean zeroIsSignificant;
public void setZeroIsSignificant( Boolean zeroIsSignificant )
{
@@ -236,12 +236,11 @@
dataElement.setNumberType( numberType );
dataElement.setAggregationOperator( aggregationOperator );
dataElement.setUrl( url );
+ dataElement.setZeroIsSignificant( zeroIsSignificant );
dataElement.setCategoryCombo( categoryCombo );
dataElement.setAggregationLevels( new ArrayList<Integer>( ConversionUtils
.getIntegerCollection( aggregationLevels ) ) );
- dataElement.setZeroIsSignificant( zeroIsSignificant );
-
if ( jsonAttributeValues != null )
{
AttributeUtils.updateAttributeValuesFromJson( dataElement.getAttributeValues(), jsonAttributeValues,
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/dataelement/UpdateDataElementAction.java'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/dataelement/UpdateDataElementAction.java 2011-12-06 18:59:50 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/dataelement/UpdateDataElementAction.java 2011-12-14 17:16:09 +0000
@@ -131,9 +131,9 @@
this.formName = formName;
}
- private Boolean active;
+ private boolean active;
- public void setActive( Boolean active )
+ public void setActive( boolean active )
{
this.active = active;
}
@@ -187,9 +187,9 @@
this.selectedCategoryComboId = selectedCategoryComboId;
}
- private Boolean zeroIsSignificant;
+ private boolean zeroIsSignificant;
- public void setZeroIsSignificant( Boolean zeroIsSignificant )
+ public void setZeroIsSignificant( boolean zeroIsSignificant )
{
this.zeroIsSignificant = zeroIsSignificant;
}
@@ -266,15 +266,11 @@
dataElement.setNumberType( numberType );
dataElement.setAggregationOperator( aggregationOperator );
dataElement.setUrl( url );
+ dataElement.setZeroIsSignificant( zeroIsSignificant );
dataElement.setCategoryCombo( categoryCombo );
dataElement.setAggregationLevels( new ArrayList<Integer>( ConversionUtils
.getIntegerCollection( aggregationLevels ) ) );
- if ( zeroIsSignificant != null )
- {
- dataElement.setZeroIsSignificant( zeroIsSignificant );
- }
-
Set<DataSet> dataSets = dataElement.getDataSets();
for ( DataSet dataSet : dataSets )
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/java/org/hisp/dhis/oum/action/organisationunit/UpdateOrganisationUnitAction.java'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/java/org/hisp/dhis/oum/action/organisationunit/UpdateOrganisationUnitAction.java 2011-10-29 14:16:54 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/java/org/hisp/dhis/oum/action/organisationunit/UpdateOrganisationUnitAction.java 2011-12-14 17:16:09 +0000
@@ -132,9 +132,9 @@
this.code = code;
}
- private Boolean active;
+ private boolean active;
- public void setActive( Boolean active )
+ public void setActive( boolean active )
{
this.active = active;
}