dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #41560
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21180: minor
------------------------------------------------------------
revno: 21180
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2015-11-24 09:58:27 +0700
message:
minor
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/attribute/exception/MissingMandatoryAttributeValueException.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/attribute/exception/MissingMandatoryAttributeValueException.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/attribute/exception/MissingMandatoryAttributeValueException.java 2015-11-24 02:57:43 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/attribute/exception/MissingMandatoryAttributeValueException.java 2015-11-24 02:58:27 +0000
@@ -38,19 +38,19 @@
*/
public class MissingMandatoryAttributeValueException extends Exception
{
- private final List<Attribute> mandatoryAttributes;
+ private final List<Attribute> attributes;
- public MissingMandatoryAttributeValueException( List<Attribute> mandatoryAttributes )
+ public MissingMandatoryAttributeValueException( List<Attribute> attributes )
{
- super( String.valueOf( mandatoryAttributes.stream()
+ super( String.valueOf( attributes.stream()
.map( att -> "Attribute " + att.getDisplayName() + " (" + att.getUid() + ")" )
.collect( Collectors.toList() ) ) );
- this.mandatoryAttributes = mandatoryAttributes;
+ this.attributes = attributes;
}
- public List<Attribute> getMandatoryAttributes()
+ public List<Attribute> getAttributes()
{
- return mandatoryAttributes;
+ return attributes;
}
}