Ignore:
Timestamp:
2013-08-10T22:17:09+02:00 (6 years ago)
Author:
Don-vip
Message:

fix javadoc/warnings

Location:
trunk/src/org/openstreetmap/josm/data/projection/proj
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/projection/proj/Proj.java

    r5066 r6135  
    2323 */
    2424public interface Proj {
     25   
    2526    /**
    26      * A Human readable name of this projection.
     27     * Replies a human readable name of this projection.
     28     * @return The projection name. must not be null.
    2729     */
    2830    String getName();
    2931
    3032    /**
    31      * The Proj.4 identifier.
     33     * Replies the Proj.4 identifier.
    3234     *
    33      * (as reported by cs2cs -lp)
    34      * If no id exists, return null.
     35     * @return The Proj.4 identifier (as reported by cs2cs -lp).
     36     * If no id exists, return {@code null}.
    3537     */
    3638    String getProj4Id();
     
    3840    /**
    3941     * Initialize the projection using the provided parameters.
     42     * @param params The projection parameters
    4043     *
    4144     * @throws ProjectionConfigurationException in case parameters are not suitable
  • trunk/src/org/openstreetmap/josm/data/projection/proj/SwissObliqueMercator.java

    r5066 r6135  
    22package org.openstreetmap.josm.data.projection.proj;
    33
    4 import static java.lang.Math.*;
    5 
     4import static java.lang.Math.PI;
     5import static java.lang.Math.abs;
     6import static java.lang.Math.asin;
     7import static java.lang.Math.atan;
     8import static java.lang.Math.atan2;
     9import static java.lang.Math.cos;
     10import static java.lang.Math.exp;
     11import static java.lang.Math.log;
     12import static java.lang.Math.pow;
     13import static java.lang.Math.sin;
     14import static java.lang.Math.sqrt;
     15import static java.lang.Math.tan;
     16import static java.lang.Math.toRadians;
    617import static org.openstreetmap.josm.tools.I18n.tr;
    718
     
    1021
    1122/**
    12  * Projection for the SwissGrid CH1903 / L03, see http://de.wikipedia.org/wiki/Swiss_Grid.
     23 * Projection for the SwissGrid CH1903 / L03, see http://en.wikipedia.org/wiki/Swiss_coordinate_system.
    1324 *
    14  * Calculations are based on formula from
     25 * Calculations were originally based on simple formula from
    1526 * http://www.swisstopo.admin.ch/internet/swisstopo/en/home/topics/survey/sys/refsys/switzerland.parsysrelated1.37696.downloadList.12749.DownloadFile.tmp/ch1903wgs84en.pdf
    1627 *
Note: See TracChangeset for help on using the changeset viewer.