dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #36953
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18901: make it more obvious that metadata is true by default in Schema
------------------------------------------------------------
revno: 18901
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2015-04-15 09:30:33 +0700
message:
make it more obvious that metadata is true by default in Schema
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/Schema.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/schema/Schema.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/Schema.java 2015-04-15 02:25:49 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/Schema.java 2015-04-15 02:30:33 +0000
@@ -116,7 +116,7 @@
/**
* Is this class considered metadata, this is mainly used for our metadata importer/exporter.
*/
- private boolean metadata;
+ private boolean metadata = true;
/**
* Are any properties on this class being persisted, if false, this file does not have any hbm file attached to it.
@@ -148,7 +148,6 @@
this.nameableObject = NameableObject.class.isAssignableFrom( klass );
this.singular = singular;
this.plural = plural;
- this.metadata = true;
}
@Override