Generic cleanup of warnings, whitespace and style.

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
Bukkit/Spigot
2011-12-25 16:02:30 +01:00
parent 98960fd73e
commit aaab1cba23
257 changed files with 1408 additions and 1152 deletions

View File

@@ -240,10 +240,10 @@ public class Location implements Cloneable {
z += vec.z;
return this;
}
/**
/**
* Adds the location by a vector.
*
*
* @see Vector
* @param vec Vector to use
* @return the same location
@@ -289,10 +289,10 @@ public class Location implements Cloneable {
z -= vec.z;
return this;
}
/**
/**
* Subtracts the location by a vector.
*
*
* @see Vector
* @param vec The vector to use
* @return the same location
@@ -348,7 +348,7 @@ public class Location implements Cloneable {
}
/**
* Get the distance between this location and another. The value
* Get the distance between this location and another. The value
* of this method is not cached and uses a costly square-root function, so
* do not repeatedly call this method to get the location's magnitude. NaN
* will be returned if the inner result of the sqrt() function overflows,