dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #17341
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6859: Minor fix with RelativePeriods
------------------------------------------------------------
revno: 6859
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2012-05-04 14:28:46 +0200
message:
Minor fix with RelativePeriods
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/period/RelativePeriods.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/period/RelativePeriods.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/period/RelativePeriods.java 2012-05-04 12:22:46 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/period/RelativePeriods.java 2012-05-04 12:28:46 +0000
@@ -781,9 +781,10 @@
return thisFinancialYear;
}
- public void setThisFinancialYear( boolean thisFinancialYear )
+ public RelativePeriods setThisFinancialYear( boolean thisFinancialYear )
{
this.thisFinancialYear = thisFinancialYear;
+ return this;
}
@JsonProperty
@@ -793,9 +794,10 @@
return lastFinancialYear;
}
- public void setLastFinancialYear( boolean lastFinancialYear )
+ public RelativePeriods setLastFinancialYear( boolean lastFinancialYear )
{
this.lastFinancialYear = lastFinancialYear;
+ return this;
}
@JsonProperty
@@ -805,9 +807,10 @@
return last5FinancialYears;
}
- public void setLast5FinancialYears( boolean last5FinancialYears )
+ public RelativePeriods setLast5FinancialYears( boolean last5FinancialYears )
{
this.last5FinancialYears = last5FinancialYears;
+ return this;
}
// -------------------------------------------------------------------------