Replacement of boolean
primitive type by Boolean
wrapper.
This change has been forced by a GeoAPI change. Reverting this change causes a compilation failure,
which is resolved by restoring the Boolean
values as required by GeoAPI interfaces. So
rewriting this contribution produces identical result.
Action: all contributions forced by changes in GeoAPI interfaces
(mostly import
statements and method signatures) have been rewritten from scratch
by creating an empty Java class implementing the interface,
clicking on the "Implement all abstract methods" contextual menu in NetBeans,
removing the <? extends>
part in parameterized type of collections,
adding the synchronized
keyword (for now)
and finally adding the corresponding private fields.
This action has been committed in the Apache SIS JDK7 branch at revision 1458238.
Command line:
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r24972:24973 https://svn.osgeo.org/geotools/trunk/modules/library/metadata/src/main/java/org/geotools/metadata/iso/content/FeatureCatalogueDescriptionImpl.java
Revision 24972 | Revision 24973 |
---|---|
/**
* Indication of whether or not the cited feature catalogue complies with ISO 19110.
*/
private boolean compliant;
/**
* Language(s) used within the catalogue |
/**
* Indication of whether or not the cited feature catalogue complies with ISO 19110.
*/
private Boolean compliant;
/**
* Language(s) used within the catalogue |
/** * Returns whether or not the cited feature catalogue complies with ISO 19110. */ public boolean isCompliant() { return compliant; } /** * Set whether or not the cited feature catalogue complies with ISO 19110. */ public synchronized void setCompliant(final boolean newValue) { checkWritePermission(); compliant = newValue; } |
/** * Returns whether or not the cited feature catalogue complies with ISO 19110. */ public Boolean isCompliant() { return compliant; } /** * Set whether or not the cited feature catalogue complies with ISO 19110. */ public synchronized void setCompliant(final Boolean newValue) { checkWritePermission(); compliant = newValue; } |