dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #39403
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19943: Startup, removed logging
------------------------------------------------------------
revno: 19943
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2015-09-02 23:01:22 +0200
message:
Startup, removed logging
modified:
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataelement/DataElementDefaultDimensionPopulator.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-core/src/main/java/org/hisp/dhis/dataelement/DataElementDefaultDimensionPopulator.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataelement/DataElementDefaultDimensionPopulator.java 2015-01-17 07:41:26 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataelement/DataElementDefaultDimensionPopulator.java 2015-09-02 21:01:22 +0000
@@ -96,8 +96,6 @@
DataElementCategoryCombo categoryCombo = categoryService.getDataElementCategoryComboByName( defaultName );
- log.info( "Linked default category with default concept" );
-
if ( categoryCombo == null )
{
categoryService.generateDefaultDimension();
@@ -114,8 +112,6 @@
Collection<DataElement> dataElements = dataElementService.getAllDataElements();
- boolean dataElementUpdated = false;
-
for ( DataElement dataElement : dataElements )
{
if ( dataElement.getCategoryCombo() == null )
@@ -123,14 +119,7 @@
dataElement.setCategoryCombo( categoryCombo );
dataElementService.updateDataElement( dataElement );
-
- dataElementUpdated = true;
}
}
-
- if ( dataElementUpdated )
- {
- log.info( "Assigned data elements not assigned to any dimension to the default dimension" );
- }
}
}