Changeset 9562 in josm for trunk/src/org


Ignore:
Timestamp:
2016-01-22T01:07:06+01:00 (9 years ago)
Author:
Don-vip
Message:

see #12186 - checkstyle

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

Legend:

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

    r9559 r9562  
    1212import java.util.regex.Matcher;
    1313import java.util.regex.Pattern;
     14
    1415import org.openstreetmap.josm.Main;
    1516import org.openstreetmap.josm.data.Bounds;
     
    785786                        }
    786787                    }
    787                 } catch (Exception e) {}
     788                } catch (Exception e) {
     789                    Main.error(e);
     790                }
    788791            }
    789792        }
  • trunk/src/org/openstreetmap/josm/data/projection/proj/LambertAzimuthalEqualArea.java

    r9560 r9562  
    2121 * </ul>
    2222 *
    23  * @see <A HREF="http://mathworld.wolfram.com/LambertAzimuthalEqual-AreaProjection.html">Lambert Azimuthal Equal-Area Projection on MathWorld</A>
    24  * @see <A HREF="http://www.remotesensing.org/geotiff/proj_list/lambert_azimuthal_equal_area.html">"Lambert_Azimuthal_Equal_Area" on RemoteSensing.org</A>
    25  *
    2623 * @author Gerald Evenden  (for original code in Proj4)
    2724 * @author Beate Stollberg
    2825 * @author Martin Desruisseaux
     26 *
     27 * @see <A HREF="http://mathworld.wolfram.com/LambertAzimuthalEqual-AreaProjection.html">Lambert Azimuthal Equal-Area Projection</A>
     28 * @see <A HREF="http://www.remotesensing.org/geotiff/proj_list/lambert_azimuthal_equal_area.html">"Lambert_Azimuthal_Equal_Area"</A>
    2929 */
    3030public class LambertAzimuthalEqualArea extends AbstractProj {
     
    4848
    4949    /** The projection mode. */
    50     private enum Mode { OBLIQUE, EQUATORIAL, NORTH_POLE, SOUTH_POLE };
     50    private enum Mode { OBLIQUE, EQUATORIAL, NORTH_POLE, SOUTH_POLE }
    5151
    5252    /** The projection mode for this particular instance. */
     
    5858    /** Coefficients for authalic latitude. */
    5959    private double APA0, APA1, APA2;
    60    
     60
    6161    private double latitudeOfOrigin;
    6262
     
    7474    public void initialize(ProjParameters params) throws ProjectionConfigurationException {
    7575        super.initialize(params);
    76        
     76
    7777        if (params.lat0 == null)
    7878            throw new ProjectionConfigurationException(tr("Parameter ''{0}'' required.", "lat_0"));
    79        
     79
    8080        latitudeOfOrigin = Math.toRadians(params.lat0);
    8181        /*
Note: See TracChangeset for help on using the changeset viewer.