AngleFormatTest 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/referencing/src/test/java/org/geotools/measure/FormatTest.java
Revision 10795Revision 10796
/*
 * Geotools 2 - OpenSource mapping toolkit
 * (C) 2003, Geotools Project Management Committee (PMC)
 * (C) 2002, 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) 2002, 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
package org.geotools.measure;

// J2SE dependencies
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;
import java.text.Format;
import java.text.ParseException;

// Geotools dependencies
import org.geotools.referencing.*;
import org.geotools.referencing.crs.*;
import org.geotools.referencing.cs.TimeCS;
import org.geotools.referencing.datum.TemporalDatum;
import org.geotools.geometry.GeneralDirectPosition;

// JUnit dependencies
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import junit.textui.TestRunner;


/**
 * Test formatting done by the {@link CoordinateFormat} class.
 *
package org.geotools.measure;

// J2SE dependencies
import java.text.Format;
import java.text.ParseException;
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import junit.textui.TestRunner;

import org.geotools.geometry.GeneralDirectPosition;
import org.geotools.referencing.crs.CompoundCRS;
import org.geotools.referencing.crs.CoordinateReferenceSystem;
import org.geotools.referencing.crs.GeographicCRS;
import org.geotools.referencing.crs.TemporalCRS;
import org.geotools.referencing.crs.VerticalCRS;
import org.geotools.referencing.cs.TimeCS;
import org.geotools.referencing.datum.TemporalDatum;


/**
 * Test formatting done by the {@link CoordinateFormat} class.
 *
        format.setCoordinateReferenceSystem(crs);
        format.setTimeZone(TimeZone.getTimeZone("GMT+01:00"));
    GeneralDirectPosition position = new GeneralDirectPosition(new double[]{23.78, -12.74, 127.9, 3.2});
        assertEquals("23°46,8'E 12°44,4'S 127,9 4 janv. 2003", format.format(position));
     }
}
        format.setCoordinateReferenceSystem(crs);
        format.setTimeZone(TimeZone.getTimeZone("GMT+01:00"));
    GeneralDirectPosition position = new GeneralDirectPosition(new double[]{23.78, -12.74, 127.9, 3.2});
        assertEquals("23�46,8'E 12�44,4'S 127,9 4 janv. 2003", format.format(position));
     }
}