This commit propagates a change in GeoAPI interface. Reverting this commit results in a compilation error, which is resolved by putting back exactly the same name than the one in this commit.
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" -r24924:24990 https://svn.osgeo.org/geotools/trunk/modules/library/metadata/src/main/java/org/geotools/metadata/iso/identification/IdentificationImpl.java
Revision 24924 | Revision 24990 |
---|---|
// J2SE direct dependencies import java.util.Collection; // OpenGIS dependencies import org.opengis.metadata.citation.Citation; |
// J2SE direct dependencies
import java.util.Collection;
import java.util.Collections;
// OpenGIS dependencies
import org.opengis.metadata.citation.Citation; |
* * @since 2.4 */ public synchronized Collection getAggregateInfo() { return aggregationInfo = nonNullCollection(aggregationInfo, AggregateInformation.class); } /** * Provides aggregate dataset information. * * @since 2.4 */ public synchronized void setAggregateInfo(final Collection newValues) { aggregationInfo = copyCollection(newValues, aggregationInfo, AggregateInformation.class); } |
* * @since 2.4 */ public synchronized Collection getAggregationInfo() { return aggregationInfo = nonNullCollection(aggregationInfo, AggregateInformation.class); } /** * Sets aggregate dataset information. * * @since 2.4 */ public synchronized void setAggregationInfo(final Collection newValues) { aggregationInfo = copyCollection(newValues, aggregationInfo, AggregateInformation.class); } |