Category changes for revisions 10795:10796

Changes in this commit seem to be the result of some "auto reformat" tool execution. The Java - GeoAPI - GeoTools import ordering is altered, imports used only in Javadoc are lost and the encoding of non-ASCII characters is broken. This commit has been reverted, except for the removal of really unused imports which are kept removed.

Command line:

svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r10795:10796 https://svn.osgeo.org/geotools/trunk/modules/library/coverage/src/main/java/org/geotools/coverage/Category.java
Revision 10795Revision 10796
/*
 * Geotools 2 - OpenSource mapping toolkit
 * (C) 2003, Geotools Project Management Committee (PMC)
 * (C) 2001, Institut de Recherche pour le Développement
 *
 *    This library is free software; you can redistribute it and/or
 *    modify it under the terms of the GNU Lesser General Public
/*
 * Geotools 2 - OpenSource mapping toolkit
 * (C) 2003, Geotools Project Management Committee (PMC)
 * (C) 2001, Institut de Recherche pour le D�veloppement
 *
 *    This library is free software; you can redistribute it and/or
 *    modify it under the terms of the GNU Lesser General Public
// J2SE dependencies
import java.awt.Color;
import java.util.Arrays;
import java.util.Locale;
import java.io.Serializable;
import java.io.ObjectStreamException;

// JAI dependencies
import javax.media.jai.util.Range;
import javax.media.jai.operator.PiecewiseDescriptor; // For Javadoc

// OpenGIS dependencies
import org.opengis.util.InternationalString;
import org.opengis.referencing.operation.MathTransform; // For Javadoc
import org.opengis.referencing.operation.MathTransform1D;
import org.opengis.referencing.operation.TransformException;
import org.opengis.referencing.operation.MathTransformFactory;

// Geotools dependencies
import org.geotools.util.NumberRange;
import org.geotools.util.WeakHashSet;
import org.geotools.referencing.operation.transform.LinearTransform1D;

// Resources
import org.geotools.resources.XMath;
import org.geotools.resources.Utilities;
import org.geotools.resources.gcs.Resources;
import org.geotools.resources.gcs.ResourceKeys;


/**
// J2SE dependencies
import java.awt.Color;
import java.io.ObjectStreamException;
import java.io.Serializable;
import java.util.Arrays;

import javax.media.jai.operator.PiecewiseDescriptor;

import org.geotools.referencing.operation.transform.LinearTransform1D;
import org.geotools.resources.Utilities;
import org.geotools.resources.XMath;
import org.geotools.resources.gcs.ResourceKeys;
import org.geotools.resources.gcs.Resources;
import org.geotools.util.NumberRange;
import org.geotools.util.WeakHashSet;
import org.opengis.referencing.operation.MathTransform;
import org.opengis.referencing.operation.MathTransform1D;
import org.opengis.referencing.operation.MathTransformFactory;
import org.opengis.referencing.operation.TransformException;
import org.opengis.util.InternationalString;


/**
*
* Some image mixes both qualitative and quantitative categories. For example,
* images of Sea Surface Temperature  (SST)  may have a quantitative category
* for temperature with values ranging from –2 to 35°C,  and three qualitative
* categories for cloud, land and ice.
* <br><br>
* All categories must have a human readable name. In addition, quantitative
*
* Some image mixes both qualitative and quantitative categories. For example,
* images of Sea Surface Temperature  (SST)  may have a quantitative category
* for temperature with values ranging from �2 to 35�C,  and three qualitative
* categories for cloud, land and ice.
* <br><br>
* All categories must have a human readable name. In addition, quantitative
final Category inverse;

/**
 * Codes ARGB des couleurs de la catégorie. Les couleurs par
 * défaut seront un gradient allant du noir au blanc opaque.
 */
private final int[] ARGB;

/**
 * Codes ARGB par défaut. On utilise un exemplaire unique
 * pour toutes les création d'objets {@link Category}.
 */
private static final int[] DEFAULT = {0xFF000000, 0xFFFFFFFF};
final Category inverse;

/**
 * Codes ARGB des couleurs de la cat�gorie. Les couleurs par
 * d�faut seront un gradient allant du noir au blanc opaque.
 */
private final int[] ARGB;

/**
 * Codes ARGB par d�faut. On utilise un exemplaire unique
 * pour toutes les cr�ation d'objets {@link Category}.
 */
private static final int[] DEFAULT = {0xFF000000, 0xFFFFFFFF};