DefaultTelephone changes for revisions 25542:25543

Type of properties has been changed from singletons to collections. Those changes were forced by GeoAPI change. Reverting those changes result in compilation error, and rewriting the contribution produces identical results since the new types are imposed by GeoAPI.

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" -r25542:25543 https://svn.osgeo.org/geotools/trunk/modules/library/metadata/src/main/java/org/geotools/metadata/iso/citation/TelephoneImpl.java
Revision 25542Revision 25543
 */
package org.geotools.metadata.iso.citation;

// OpenGIS dependencies
import org.opengis.metadata.citation.Telephone;
 */
package org.geotools.metadata.iso.citation;

import java.util.Collection;

// OpenGIS dependencies
import org.opengis.metadata.citation.Telephone;
/**
 * Telephone number by which individuals can speak to the responsible organization or individual.
 */
private String voice;

/**
 * Telephone number of a facsimile machine for the responsible organization or individual.
 */
private String facsimile;

/**
 * Constructs a default telephone.
/**
 * Telephone number by which individuals can speak to the responsible organization or individual.
 */
private Collection voice;

/**
 * Telephone number of a facsimile machine for the responsible organization or individual.
 */
private Collection facsimile;

/**
 * Constructs a default telephone.
 * Returns the telephone number by which individuals can speak to the responsible
 * organization or individual.
 */
public String getVoice() {
    return voice;
}
 * Returns the telephone number by which individuals can speak to the responsible
 * organization or individual.
 */
public Collection getVoice() {
    return voice;
}
 * Set the telephone number by which individuals can speak to the responsible
 * organization or individual.
 */
public synchronized void setVoice(final String newValue) {
    checkWritePermission();
    voice = newValue;
}
 * Set the telephone number by which individuals can speak to the responsible
 * organization or individual.
 */
public synchronized void setVoice(final Collection newValue) {
    checkWritePermission();
    voice = newValue;
}
 * Returns the telephone number of a facsimile machine for the responsible organization
 * or individual.
 */
public String getFacsimile() {
    return facsimile;
}
 * Returns the telephone number of a facsimile machine for the responsible organization
 * or individual.
 */
public Collection getFacsimile() {
    return facsimile;
}
 * Set the telephone number of a facsimile machine for the responsible organization
 * or individual.
 */
public synchronized void setFacsimile(final String newValue) {
    checkWritePermission();
    facsimile = newValue;
}
 * Set the telephone number of a facsimile machine for the responsible organization
 * or individual.
 */
public synchronized void setFacsimile(final Collection newValue) {
    checkWritePermission();
    facsimile = newValue;
}