------------------------------------------------------------ revno: 20512 committer: Lars Helge Overland <larshe...@gmail.com> branch nick: dhis2 timestamp: Mon 2015-10-05 19:45:17 +0200 message: Removed serializableUid modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/attribute/Attribute.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/caseaggregation/CaseAggregationCondition.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/chart/Chart.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseIdentifiableObject.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseNameableObject.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/filter/MetaDataFilter.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/constant/Constant.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataapproval/DataApprovalLevel.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElement.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategory.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryCombo.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryOption.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryOptionCombo.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementGroup.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementGroupSet.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataset/DataSet.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataset/Section.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/indicator/Indicator.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/indicator/IndicatorGroup.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/indicator/IndicatorGroupSet.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/indicator/IndicatorType.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnit.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnitGroup.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnitGroupSet.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnitLevel.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/period/Period.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/Program.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramInstance.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramStage.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramStageDataElement.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramStageInstance.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramStageSection.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramValidation.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/relationship/RelationshipType.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/report/Report.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/sms/outbound/OutboundSms.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntity.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntityAttributeGroup.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntityInstanceReminder.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/User.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserCredentials.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserGroup.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/validation/ValidationRule.java dhis-2/dhis-api/src/main/java/org/hisp/dhis/validation/ValidationRuleGroup.java dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/datavalueset/PipedImporter.java dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/ObjectBridge.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/Attribute.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/attribute/Attribute.java 2015-08-19 05:26:31 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/attribute/Attribute.java 2015-10-05 17:45:17 +0000 @@ -51,11 +51,6 @@ public class Attribute extends BaseIdentifiableObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = 9085246849415991424L; - private String valueType; private boolean dataElementAttribute; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/caseaggregation/CaseAggregationCondition.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/caseaggregation/CaseAggregationCondition.java 2015-09-28 19:06:45 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/caseaggregation/CaseAggregationCondition.java 2015-10-05 17:45:17 +0000 @@ -40,8 +40,6 @@ public class CaseAggregationCondition extends BaseNameableObject { - private static final long serialVersionUID = -5746649805915250424L; - public static final String SEPARATOR_ID = "\\."; public static final String SEPARATOR_OBJECT = ":"; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/chart/Chart.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/chart/Chart.java 2015-08-04 16:05:37 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/chart/Chart.java 2015-10-05 17:45:17 +0000 @@ -57,8 +57,6 @@ public class Chart extends BaseChart { - private static final long serialVersionUID = 2570074075484545534L; - private String series; private String category; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseIdentifiableObject.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseIdentifiableObject.java 2015-09-09 08:41:15 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseIdentifiableObject.java 2015-10-05 17:45:17 +0000 @@ -64,11 +64,6 @@ implements IdentifiableObject { /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = 5532508099213570673L; - - /** * The database internal identifier for this Object. */ protected int id; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseNameableObject.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseNameableObject.java 2015-05-11 08:22:10 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseNameableObject.java 2015-10-05 17:45:17 +0000 @@ -46,11 +46,6 @@ implements NameableObject { /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = 714136796552146362L; - - /** * An short name representing this Object. Optional but unique. */ protected String shortName; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/filter/MetaDataFilter.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/filter/MetaDataFilter.java 2015-07-14 07:33:21 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/filter/MetaDataFilter.java 2015-10-05 17:45:17 +0000 @@ -44,11 +44,6 @@ public class MetaDataFilter extends BaseNameableObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = 8736213901318412954L; - private String jsonFilter; private Integer sortOrder; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/constant/Constant.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/constant/Constant.java 2015-05-21 13:11:27 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/constant/Constant.java 2015-10-05 17:45:17 +0000 @@ -47,11 +47,6 @@ public class Constant extends BaseNameableObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = -8420671741149847205L; - // ------------------------------------------------------------------------- // Variables // ------------------------------------------------------------------------- === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataapproval/DataApprovalLevel.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataapproval/DataApprovalLevel.java 2015-09-16 15:14:04 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataapproval/DataApprovalLevel.java 2015-10-05 17:45:17 +0000 @@ -52,8 +52,6 @@ public class DataApprovalLevel extends BaseIdentifiableObject { - private static final long serialVersionUID = -8424400562969386167L; - /** * The data approval level, 1=highest level, max=lowest level. */ === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElement.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElement.java 2015-09-15 12:13:00 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElement.java 2015-10-05 17:45:17 +0000 @@ -28,13 +28,15 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonView; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper; -import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; -import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; -import com.google.common.collect.Sets; +import static org.hisp.dhis.dataset.DataSet.NO_EXPIRY; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; +import java.util.List; +import java.util.Set; +import java.util.stream.Collectors; + import org.hisp.dhis.attribute.AttributeValue; import org.hisp.dhis.common.BaseDimensionalObject; import org.hisp.dhis.common.BaseIdentifiableObject; @@ -57,14 +59,13 @@ import org.hisp.dhis.schema.annotation.PropertyRange; import org.hisp.dhis.util.ObjectUtils; -import java.util.ArrayList; -import java.util.Collections; -import java.util.HashSet; -import java.util.List; -import java.util.Set; -import java.util.stream.Collectors; - -import static org.hisp.dhis.dataset.DataSet.NO_EXPIRY; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonView; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper; +import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; +import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; +import com.google.common.collect.Sets; /** * A DataElement is a definition (meta-information about) of the entities that @@ -88,11 +89,6 @@ public static final String[] I18N_PROPERTIES = { "name", "shortName", "description", "formName" }; /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = -7131541880444446669L; - - /** * Data element value type (int, boolean, etc) */ private ValueType valueType; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategory.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategory.java 2015-09-03 03:11:47 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategory.java 2015-10-05 17:45:17 +0000 @@ -63,11 +63,6 @@ public class DataElementCategory extends BaseDimensionalObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = 6797241235048185629L; - public static final String DEFAULT_NAME = "default"; private DataDimensionType dataDimensionType; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryCombo.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryCombo.java 2015-09-23 12:23:52 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryCombo.java 2015-10-05 17:45:17 +0000 @@ -57,11 +57,6 @@ public class DataElementCategoryCombo extends BaseIdentifiableObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = 1549406078091077760L; - public static final String DEFAULT_CATEGORY_COMBO_NAME = "default"; /** === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryOption.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryOption.java 2015-08-19 03:02:24 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryOption.java 2015-10-05 17:45:17 +0000 @@ -57,11 +57,6 @@ public class DataElementCategoryOption extends BaseNameableObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = -4479376547579688312L; - public static final String DEFAULT_NAME = "default"; private Date startDate; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryOptionCombo.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryOptionCombo.java 2015-09-23 16:56:18 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryOptionCombo.java 2015-10-05 17:45:17 +0000 @@ -61,11 +61,6 @@ public class DataElementCategoryOptionCombo extends BaseNameableObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = 7759083342982353468L; - public static final String DEFAULT_NAME = "default"; public static final String DEFAULT_TOSTRING = "(default)"; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementGroup.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementGroup.java 2015-09-15 07:13:04 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementGroup.java 2015-10-05 17:45:17 +0000 @@ -57,11 +57,6 @@ public class DataElementGroup extends BaseNameableObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = 6101685842665568056L; - @Scanned private Set<DataElement> members = new HashSet<>(); === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementGroupSet.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementGroupSet.java 2015-09-03 03:11:47 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementGroupSet.java 2015-10-05 17:45:17 +0000 @@ -64,11 +64,6 @@ public class DataElementGroupSet extends BaseDimensionalObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = -2118690320625221749L; - private Boolean compulsory = false; @Scanned === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataset/DataSet.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataset/DataSet.java 2015-09-17 05:52:20 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataset/DataSet.java 2015-10-05 17:45:17 +0000 @@ -79,11 +79,6 @@ public static final int NO_EXPIRY = 0; /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = -2466830446144115499L; - - /** * The PeriodType indicating the frequency that this DataSet should be used */ private PeriodType periodType; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataset/Section.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataset/Section.java 2015-04-04 07:23:13 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataset/Section.java 2015-10-05 17:45:17 +0000 @@ -56,11 +56,6 @@ public class Section extends BaseIdentifiableObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = -4657657995917502852L; - private String description; private DataSet dataSet; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/indicator/Indicator.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/indicator/Indicator.java 2015-07-13 12:34:39 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/indicator/Indicator.java 2015-10-05 17:45:17 +0000 @@ -59,11 +59,6 @@ public class Indicator extends BaseNameableObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = -6551567526188061690L; - private boolean annualized; /** === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/indicator/IndicatorGroup.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/indicator/IndicatorGroup.java 2015-07-13 12:34:39 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/indicator/IndicatorGroup.java 2015-10-05 17:45:17 +0000 @@ -53,11 +53,6 @@ public class IndicatorGroup extends BaseIdentifiableObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = 1447947029536960810L; - @Scanned private Set<Indicator> members = new HashSet<>(); === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/indicator/IndicatorGroupSet.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/indicator/IndicatorGroupSet.java 2015-07-13 12:34:39 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/indicator/IndicatorGroupSet.java 2015-10-05 17:45:17 +0000 @@ -60,11 +60,6 @@ public class IndicatorGroupSet extends BaseIdentifiableObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = 3051446168246358150L; - private String description; private Boolean compulsory = false; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/indicator/IndicatorType.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/indicator/IndicatorType.java 2015-07-13 12:34:39 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/indicator/IndicatorType.java 2015-10-05 17:45:17 +0000 @@ -47,11 +47,6 @@ public class IndicatorType extends BaseIdentifiableObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = 8436277274106210656L; - private int factor; private boolean number; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnit.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnit.java 2015-10-01 16:00:29 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnit.java 2015-10-05 17:45:17 +0000 @@ -80,8 +80,6 @@ public class OrganisationUnit extends BaseNameableObject { - private static final long serialVersionUID = 1228298379303894619L; - private static final String PATH_SEP = "/"; private static final Joiner PATH_JOINER = Joiner.on( PATH_SEP ); === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnitGroup.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnitGroup.java 2015-07-13 12:34:39 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnitGroup.java 2015-10-05 17:45:17 +0000 @@ -54,11 +54,6 @@ public class OrganisationUnitGroup extends BaseNameableObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = -1131637847640209166L; - private String symbol; @Scanned === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnitGroupSet.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnitGroupSet.java 2015-09-03 03:11:47 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnitGroupSet.java 2015-10-05 17:45:17 +0000 @@ -64,11 +64,6 @@ public class OrganisationUnitGroupSet extends BaseDimensionalObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = -221220579471558683L; - private boolean compulsory; @Scanned === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnitLevel.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnitLevel.java 2015-03-13 18:39:40 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnitLevel.java 2015-10-05 17:45:17 +0000 @@ -48,11 +48,6 @@ public class OrganisationUnitLevel extends BaseIdentifiableObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = 1599124366660090489L; - private int level; private Integer offlineLevels; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/period/Period.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/period/Period.java 2015-09-02 10:26:26 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/period/Period.java 2015-10-05 17:45:17 +0000 @@ -54,11 +54,6 @@ public class Period extends BaseNameableObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = -4445992494203466044L; - public static final String DEFAULT_DATE_FORMAT = "yyyy-MM-dd"; /** === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/Program.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/Program.java 2015-10-05 04:51:58 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/Program.java 2015-10-05 17:45:17 +0000 @@ -70,8 +70,6 @@ extends BaseIdentifiableObject implements VersionedObject { - private static final long serialVersionUID = -2807997671779497354L; - private String description; private int version; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramInstance.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramInstance.java 2015-09-24 08:32:10 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramInstance.java 2015-10-05 17:45:17 +0000 @@ -59,11 +59,6 @@ public class ProgramInstance extends BaseIdentifiableObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = -1235315582356509653L; - private ProgramStatus status = ProgramStatus.ACTIVE; private OrganisationUnit organisationUnit; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramStage.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramStage.java 2015-10-01 18:17:35 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramStage.java 2015-10-05 17:45:17 +0000 @@ -64,11 +64,6 @@ public class ProgramStage extends BaseIdentifiableObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = 6876401001559656214L; - private String description; private int minDaysFromStart; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramStageDataElement.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramStageDataElement.java 2015-03-30 06:57:27 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramStageDataElement.java 2015-10-05 17:45:17 +0000 @@ -48,11 +48,6 @@ public class ProgramStageDataElement extends BaseIdentifiableObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = -5670110591005778814L; - private ProgramStage programStage; private DataElement dataElement; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramStageInstance.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramStageInstance.java 2015-09-02 14:18:36 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramStageInstance.java 2015-10-05 17:45:17 +0000 @@ -47,11 +47,6 @@ public class ProgramStageInstance extends BaseIdentifiableObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = 6239130884678145713L; - private ProgramInstance programInstance; private ProgramStage programStage; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramStageSection.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramStageSection.java 2015-07-13 12:34:39 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramStageSection.java 2015-10-05 17:45:17 +0000 @@ -52,8 +52,6 @@ public class ProgramStageSection extends BaseIdentifiableObject { - private static final long serialVersionUID = 3141607927546197116L; - private ProgramStage programStage; @Scanned === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramValidation.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramValidation.java 2015-07-13 12:34:39 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramValidation.java 2015-10-05 17:45:17 +0000 @@ -49,10 +49,6 @@ extends BaseIdentifiableObject { public static final String SEPARATOR_OBJECT = ":"; - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = 4785165717118297802L; public static String OBJECT_PROGRAM_STAGE_DATAELEMENT = "DE"; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/relationship/RelationshipType.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/relationship/RelationshipType.java 2015-07-13 12:34:39 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/relationship/RelationshipType.java 2015-10-05 17:45:17 +0000 @@ -47,11 +47,6 @@ public class RelationshipType extends BaseIdentifiableObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = -8788979454816878770L; - private String aIsToB; private String bIsToA; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/report/Report.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/report/Report.java 2015-09-14 10:33:55 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/report/Report.java 2015-10-05 17:45:17 +0000 @@ -53,8 +53,6 @@ extends BaseIdentifiableObject implements Cacheable { - private static final long serialVersionUID = 7880117720157807526L; - public static final String TEMPLATE_DIR = "templates"; private ReportType type; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/sms/outbound/OutboundSms.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/sms/outbound/OutboundSms.java 2015-01-17 07:41:26 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/sms/outbound/OutboundSms.java 2015-10-05 17:45:17 +0000 @@ -37,8 +37,6 @@ public class OutboundSms extends BaseIdentifiableObject { - private static final long serialVersionUID = 1L; - public static final String DHIS_SYSTEM_SENDER = "DHIS-System"; private String sender; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntity.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntity.java 2015-07-13 12:34:39 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntity.java 2015-10-05 17:45:17 +0000 @@ -51,8 +51,6 @@ public class TrackedEntity extends BaseNameableObject { - private static final long serialVersionUID = 3520485123419518620L; - /** * Set of the dynamic attributes values that belong to this data element. */ === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntityAttributeGroup.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntityAttributeGroup.java 2015-02-26 15:21:29 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntityAttributeGroup.java 2015-10-05 17:45:17 +0000 @@ -53,11 +53,6 @@ public class TrackedEntityAttributeGroup extends BaseIdentifiableObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = -7084277284999239111L; - private String description; private Integer sortOrder; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntityInstanceReminder.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntityInstanceReminder.java 2015-09-28 19:06:45 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntityInstanceReminder.java 2015-10-05 17:45:17 +0000 @@ -50,8 +50,6 @@ public class TrackedEntityInstanceReminder extends BaseIdentifiableObject { - private static final long serialVersionUID = 3101502417481903219L; - public static final String ATTRIBUTE = "attributeid"; public static final Pattern ATTRIBUTE_PATTERN = Pattern.compile( "\\{(" + ATTRIBUTE + ")=(\\w+)\\}" ); === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/User.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/User.java 2015-08-03 12:01:11 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/User.java 2015-10-05 17:45:17 +0000 @@ -64,11 +64,6 @@ extends BaseIdentifiableObject { /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = 859837727604102353L; - - /** * Required. */ private String surname; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserCredentials.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserCredentials.java 2015-10-05 07:55:19 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserCredentials.java 2015-10-05 17:45:17 +0000 @@ -65,11 +65,6 @@ extends BaseIdentifiableObject { /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = -8919501679702302098L; - - /** * Required and unique. */ private User userInfo; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserGroup.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserGroup.java 2015-07-13 12:34:39 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserGroup.java 2015-10-05 17:45:17 +0000 @@ -61,11 +61,6 @@ public static final String AUTH_ADD_MEMBERS_TO_READ_ONLY_USER_GROUPS = "F_USER_GROUPS_READ_ONLY_ADD_MEMBERS"; /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = 347909584755616508L; - - /** * Set of related users */ @Scanned === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/validation/ValidationRule.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/validation/ValidationRule.java 2015-09-17 08:13:56 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/validation/ValidationRule.java 2015-10-05 17:45:17 +0000 @@ -60,11 +60,6 @@ extends BaseIdentifiableObject { /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = -9058559806538024350L; - - /** * A description of the ValidationRule. */ private String description; === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/validation/ValidationRuleGroup.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/validation/ValidationRuleGroup.java 2015-07-13 12:34:39 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/validation/ValidationRuleGroup.java 2015-10-05 17:45:17 +0000 @@ -54,11 +54,6 @@ public class ValidationRuleGroup extends BaseIdentifiableObject { - /** - * Determines if a de-serialized file is compatible with this class. - */ - private static final long serialVersionUID = 436511421834390504L; - private String description; @Scanned === modified file 'dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/datavalueset/PipedImporter.java' --- dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/datavalueset/PipedImporter.java 2015-09-13 21:54:23 +0000 +++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/datavalueset/PipedImporter.java 2015-10-05 17:45:17 +0000 @@ -62,7 +62,7 @@ PipedOutputStream pipeOut ) throws IOException { this.dataValueSetService = dataValueSetService; - pipeIn = new PipedInputStream( pipeOut, PIPE_BUFFER_SIZE ); + this.pipeIn = new PipedInputStream( pipeOut, PIPE_BUFFER_SIZE ); this.importOptions = importOptions; this.authentication = SecurityContextHolder.getContext().getAuthentication(); } @@ -87,8 +87,7 @@ { IOUtils.closeQuietly( pipeIn ); } - - + return result; } } === modified file 'dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/ObjectBridge.java' --- dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/ObjectBridge.java 2015-09-24 05:44:40 +0000 +++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/ObjectBridge.java 2015-10-05 17:45:17 +0000 @@ -40,8 +40,16 @@ */ public interface ObjectBridge { + /** + * Initialize bridge. + * + * @param preheatClasses the classes to preheat. + */ void init( Set<Class> preheatClasses ); + /** + * Destroy bridge. + */ void destroy(); /**
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp