← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18208: Minor

 

------------------------------------------------------------
revno: 18208
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2015-02-09 18:42:23 +0100
message:
  Minor
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/validation/ValidationSummary.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/validation/ValidationSummary.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/validation/ValidationSummary.java	2015-02-09 16:30:46 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/validation/ValidationSummary.java	2015-02-09 17:42:23 +0000
@@ -47,7 +47,7 @@
 {
     private List<ValidationResult> validationRuleViolations = new ArrayList<>();
     
-    private List<DataElementOperand> outlierViolations = new ArrayList<>();
+    private List<DataElementOperand> commentRequiredViolations = new ArrayList<DataElementOperand>();
     
     public ValidationSummary()
     {
@@ -67,15 +67,15 @@
     }
 
     @JsonProperty
-    @JacksonXmlElementWrapper( localName = "outlierViolations", namespace = DxfNamespaces.DXF_2_0 )
-    @JacksonXmlProperty( localName = "outlierViolation", namespace = DxfNamespaces.DXF_2_0 )
-    public List<DataElementOperand> getOutlierViolations()
+    @JacksonXmlElementWrapper( localName = "commentRequiredViolations", namespace = DxfNamespaces.DXF_2_0 )
+    @JacksonXmlProperty( localName = "commentRequiredViolation", namespace = DxfNamespaces.DXF_2_0 )
+    public List<DataElementOperand> getCommentRequiredViolations()
     {
-        return outlierViolations;
+        return commentRequiredViolations;
     }
 
-    public void setOutlierViolations( List<DataElementOperand> outlierViolations )
+    public void setCommentRequiredViolations( List<DataElementOperand> commentRequiredViolations )
     {
-        this.outlierViolations = outlierViolations;
+        this.commentRequiredViolations = commentRequiredViolations;
     }
 }