You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by de...@apache.org on 2012/09/12 18:09:11 UTC

svn commit: r1384008 - /incubator/sis/trunk/sis-core/src/main/java/org/apache/sis/distance/DistanceUtils.java

Author: desruisseaux
Date: Wed Sep 12 16:09:10 2012
New Revision: 1384008

URL: http://svn.apache.org/viewvc?rev=1384008&view=rev
Log:
Fixed a typo ("longtitude" --> "longitude"), and opportunist trailing space trimming performed by the IDE.
This commit does not contain any code change.

Modified:
    incubator/sis/trunk/sis-core/src/main/java/org/apache/sis/distance/DistanceUtils.java

Modified: incubator/sis/trunk/sis-core/src/main/java/org/apache/sis/distance/DistanceUtils.java
URL: http://svn.apache.org/viewvc/incubator/sis/trunk/sis-core/src/main/java/org/apache/sis/distance/DistanceUtils.java?rev=1384008&r1=1384007&r2=1384008&view=diff
==============================================================================
--- incubator/sis/trunk/sis-core/src/main/java/org/apache/sis/distance/DistanceUtils.java (original)
+++ incubator/sis/trunk/sis-core/src/main/java/org/apache/sis/distance/DistanceUtils.java Wed Sep 12 16:09:10 2012
@@ -23,7 +23,7 @@ import org.apache.sis.core.LatLon;
 /**
  * Class to calculate distances on earth surface. Actual calculation code very
  * similar to Apache SIS but refractor to allow use of custom classes.
- * 
+ *
  */
 public class DistanceUtils {
 
@@ -32,10 +32,10 @@ public class DistanceUtils {
 
   /**
    * Returns a coordinate on the great circle at the specified bearing.
-   * 
+   *
    * @param latitude
    *          the latitude of center of circle
-   * @param longtitude
+   * @param longitude
    *          the longitude of center of circle
    * @param d
    *          the distance from the center
@@ -68,7 +68,7 @@ public class DistanceUtils {
   /**
    * Calculates haversine (great circle) distance between two lat/lon
    * coordinates.
-   * 
+   *
    * @param latitude1
    *          latitude of first coordinate
    * @param longitude1