Fixed indentation.

Having these serialVersionUID fields screws up my script which converts the
float code to double code. Meh. I guess I can improve it so that it preserves
the double versions... yaks!
This commit is contained in:
Michael Bayne
2015-02-04 11:28:15 -08:00
parent 7fb1d3cccf
commit 727861c254
23 changed files with 47 additions and 47 deletions
+2 -2
View File
@@ -11,9 +11,9 @@ import java.io.Serializable;
*/ */
public class Arc extends AbstractArc implements Serializable public class Arc extends AbstractArc implements Serializable
{ {
private static final long serialVersionUID = 378120636227888073L; private static final long serialVersionUID = 378120636227888073L;
/** The x-coordinate of this arc's framing rectangle. */ /** The x-coordinate of this arc's framing rectangle. */
public float x; public float x;
/** The y-coordinate of this arc's framing rectangle. */ /** The y-coordinate of this arc's framing rectangle. */
+2 -2
View File
@@ -11,9 +11,9 @@ import java.io.Serializable;
*/ */
public class Box implements IBox, Serializable public class Box implements IBox, Serializable
{ {
private static final long serialVersionUID = -367110846212429910L; private static final long serialVersionUID = -367110846212429910L;
/** The unit box. */ /** The unit box. */
public static final Box UNIT = new Box(Vector3.UNIT_XYZ.negate(), Vector3.UNIT_XYZ); public static final Box UNIT = new Box(Vector3.UNIT_XYZ.negate(), Vector3.UNIT_XYZ);
/** The zero box. */ /** The zero box. */
+2 -2
View File
@@ -11,9 +11,9 @@ import java.io.Serializable;
*/ */
public class Circle extends AbstractCircle implements Serializable public class Circle extends AbstractCircle implements Serializable
{ {
private static final long serialVersionUID = -4841212861047390886L; private static final long serialVersionUID = -4841212861047390886L;
/** The x-coordinate of the circle. */ /** The x-coordinate of the circle. */
public float x; public float x;
/** The y-coordinate of the circle. */ /** The y-coordinate of the circle. */
+2 -2
View File
@@ -11,9 +11,9 @@ import java.io.Serializable;
*/ */
public class CubicCurve extends AbstractCubicCurve implements Serializable public class CubicCurve extends AbstractCubicCurve implements Serializable
{ {
private static final long serialVersionUID = -3306427309314031213L; private static final long serialVersionUID = -3306427309314031213L;
/** The x-coordinate of the start of this curve. */ /** The x-coordinate of the start of this curve. */
public float x1; public float x1;
/** The y-coordinate of the start of this curve. */ /** The y-coordinate of the start of this curve. */
+2 -2
View File
@@ -11,9 +11,9 @@ import java.io.Serializable;
*/ */
public class Dimension extends AbstractDimension implements Serializable public class Dimension extends AbstractDimension implements Serializable
{ {
private static final long serialVersionUID = 3237732020142181995L; private static final long serialVersionUID = 3237732020142181995L;
/** The magnitude in the x-dimension. */ /** The magnitude in the x-dimension. */
public float width; public float width;
/** The magnitude in the y-dimension. */ /** The magnitude in the y-dimension. */
+2 -2
View File
@@ -11,9 +11,9 @@ import java.io.Serializable;
*/ */
public class Ellipse extends AbstractEllipse implements Serializable public class Ellipse extends AbstractEllipse implements Serializable
{ {
private static final long serialVersionUID = -1205529661373764424L; private static final long serialVersionUID = -1205529661373764424L;
/** The x-coordinate of the framing rectangle. */ /** The x-coordinate of the framing rectangle. */
public float x; public float x;
/** The y-coordinate of the framing rectangle. */ /** The y-coordinate of the framing rectangle. */
@@ -11,9 +11,9 @@ package pythagoras.f;
*/ */
public class IllegalPathStateException extends RuntimeException public class IllegalPathStateException extends RuntimeException
{ {
private static final long serialVersionUID = 5494939619370624441L; private static final long serialVersionUID = 5494939619370624441L;
public IllegalPathStateException () { public IllegalPathStateException () {
} }
public IllegalPathStateException (String s) { public IllegalPathStateException (String s) {
+2 -2
View File
@@ -11,9 +11,9 @@ import java.io.Serializable;
*/ */
public class Line extends AbstractLine implements Serializable public class Line extends AbstractLine implements Serializable
{ {
private static final long serialVersionUID = -1771222822536940013L; private static final long serialVersionUID = -1771222822536940013L;
/** The x-coordinate of the start of this line segment. */ /** The x-coordinate of the start of this line segment. */
public float x1; public float x1;
/** The y-coordinate of the start of this line segment. */ /** The y-coordinate of the start of this line segment. */
+2 -2
View File
@@ -15,9 +15,9 @@ import pythagoras.util.SingularMatrixException;
*/ */
public class Matrix3 implements IMatrix3, Serializable public class Matrix3 implements IMatrix3, Serializable
{ {
private static final long serialVersionUID = 2090355290484132872L; private static final long serialVersionUID = 2090355290484132872L;
/** the identity matrix. */ /** the identity matrix. */
public static final Matrix3 IDENTITY = new Matrix3(); public static final Matrix3 IDENTITY = new Matrix3();
/** The values of the matrix. The names take the form {@code mCOLROW}. */ /** The values of the matrix. The names take the form {@code mCOLROW}. */
+2 -2
View File
@@ -15,9 +15,9 @@ import pythagoras.util.SingularMatrixException;
*/ */
public final class Matrix4 implements IMatrix4, Serializable public final class Matrix4 implements IMatrix4, Serializable
{ {
private static final long serialVersionUID = -4239146234415362557L; private static final long serialVersionUID = -4239146234415362557L;
/** The identity matrix. */ /** The identity matrix. */
public static final IMatrix4 IDENTITY = new Matrix4(); public static final IMatrix4 IDENTITY = new Matrix4();
/** An empty matrix array. */ /** An empty matrix array. */
+2 -2
View File
@@ -15,9 +15,9 @@ import pythagoras.util.Platform;
*/ */
public class Plane implements IPlane, Serializable public class Plane implements IPlane, Serializable
{ {
private static final long serialVersionUID = -1683127117567129189L; private static final long serialVersionUID = -1683127117567129189L;
/** The X/Y plane. */ /** The X/Y plane. */
public static final Plane XY_PLANE = new Plane(Vector3.UNIT_Z, 0f); public static final Plane XY_PLANE = new Plane(Vector3.UNIT_Z, 0f);
/** The X/Z plane. */ /** The X/Z plane. */
+2 -2
View File
@@ -11,9 +11,9 @@ import java.io.Serializable;
*/ */
public class Point extends AbstractPoint implements Serializable public class Point extends AbstractPoint implements Serializable
{ {
private static final long serialVersionUID = -2666598890366249427L; private static final long serialVersionUID = -2666598890366249427L;
/** The x-coordinate of the point. */ /** The x-coordinate of the point. */
public float x; public float x;
/** The y-coordinate of the point. */ /** The y-coordinate of the point. */
+2 -2
View File
@@ -11,9 +11,9 @@ import java.io.Serializable;
*/ */
public class QuadCurve extends AbstractQuadCurve implements Serializable public class QuadCurve extends AbstractQuadCurve implements Serializable
{ {
private static final long serialVersionUID = -6760122161413212105L; private static final long serialVersionUID = -6760122161413212105L;
/** The x-coordinate of the start of this curve. */ /** The x-coordinate of the start of this curve. */
public float x1; public float x1;
/** The y-coordinate of the start of this curve. */ /** The y-coordinate of the start of this curve. */
+2 -2
View File
@@ -15,9 +15,9 @@ import pythagoras.util.Platform;
*/ */
public class Quaternion implements IQuaternion, Serializable public class Quaternion implements IQuaternion, Serializable
{ {
private static final long serialVersionUID = 6152317379736947895L; private static final long serialVersionUID = 6152317379736947895L;
/** The identity quaternion. */ /** The identity quaternion. */
public static final IQuaternion IDENTITY = new Quaternion(0f, 0f, 0f, 1f); public static final IQuaternion IDENTITY = new Quaternion(0f, 0f, 0f, 1f);
/** The components of the quaternion. */ /** The components of the quaternion. */
+2 -2
View File
@@ -11,9 +11,9 @@ import java.io.Serializable;
*/ */
public class Rectangle extends AbstractRectangle implements Serializable public class Rectangle extends AbstractRectangle implements Serializable
{ {
private static final long serialVersionUID = -803067517133475390L; private static final long serialVersionUID = -803067517133475390L;
/** The x-coordinate of the rectangle's upper left corner. */ /** The x-coordinate of the rectangle's upper left corner. */
public float x; public float x;
/** The y-coordinate of the rectangle's upper left corner. */ /** The y-coordinate of the rectangle's upper left corner. */
@@ -11,9 +11,9 @@ import java.io.Serializable;
*/ */
public class RoundRectangle extends AbstractRoundRectangle implements Serializable public class RoundRectangle extends AbstractRoundRectangle implements Serializable
{ {
private static final long serialVersionUID = 5850741513376725608L; private static final long serialVersionUID = 5850741513376725608L;
/** The x-coordinate of the framing rectangle. */ /** The x-coordinate of the framing rectangle. */
public float x; public float x;
/** The y-coordinate of the framing rectangle. */ /** The y-coordinate of the framing rectangle. */
+2 -2
View File
@@ -14,9 +14,9 @@ import pythagoras.util.Platform;
*/ */
public class Vector3 implements IVector3, Serializable public class Vector3 implements IVector3, Serializable
{ {
private static final long serialVersionUID = -3884541171214417861L; private static final long serialVersionUID = -3884541171214417861L;
/** A unit vector in the X+ direction. */ /** A unit vector in the X+ direction. */
public static final IVector3 UNIT_X = new Vector3(1f, 0f, 0f); public static final IVector3 UNIT_X = new Vector3(1f, 0f, 0f);
/** A unit vector in the Y+ direction. */ /** A unit vector in the Y+ direction. */
+2 -2
View File
@@ -14,9 +14,9 @@ import pythagoras.util.Platform;
*/ */
public class Vector4 implements IVector4, Serializable public class Vector4 implements IVector4, Serializable
{ {
private static final long serialVersionUID = -775706366125314150L; private static final long serialVersionUID = -775706366125314150L;
/** The components of the vector. */ /** The components of the vector. */
public float x, y, z, w; public float x, y, z, w;
/** /**
+2 -2
View File
@@ -11,9 +11,9 @@ import java.io.Serializable;
*/ */
public class Dimension extends AbstractDimension implements Serializable public class Dimension extends AbstractDimension implements Serializable
{ {
private static final long serialVersionUID = 5773214044931265346L; private static final long serialVersionUID = 5773214044931265346L;
/** The magnitude in the x-dimension. */ /** The magnitude in the x-dimension. */
public int width; public int width;
/** The magnitude in the y-dimension. */ /** The magnitude in the y-dimension. */
+2 -2
View File
@@ -11,9 +11,9 @@ import java.io.Serializable;
*/ */
public class Point extends AbstractPoint implements Serializable public class Point extends AbstractPoint implements Serializable
{ {
private static final long serialVersionUID = -6346341779228562585L; private static final long serialVersionUID = -6346341779228562585L;
/** The x-coordinate of the point. */ /** The x-coordinate of the point. */
public int x; public int x;
/** The y-coordinate of the point. */ /** The y-coordinate of the point. */
+2 -2
View File
@@ -11,9 +11,9 @@ import java.io.Serializable;
*/ */
public class Rectangle extends AbstractRectangle implements Serializable public class Rectangle extends AbstractRectangle implements Serializable
{ {
private static final long serialVersionUID = -2937911833523020174L; private static final long serialVersionUID = -2937911833523020174L;
/** The x-coordinate of the rectangle's upper left corner. */ /** The x-coordinate of the rectangle's upper left corner. */
public int x; public int x;
/** The y-coordinate of the rectangle's upper left corner. */ /** The y-coordinate of the rectangle's upper left corner. */
@@ -10,9 +10,9 @@ package pythagoras.util;
*/ */
public class NoninvertibleTransformException extends RuntimeException public class NoninvertibleTransformException extends RuntimeException
{ {
private static final long serialVersionUID = 5208863644264280750L; private static final long serialVersionUID = 5208863644264280750L;
public NoninvertibleTransformException (String s) { public NoninvertibleTransformException (String s) {
super(s); super(s);
} }
} }
@@ -9,9 +9,9 @@ package pythagoras.util;
*/ */
public class SingularMatrixException extends RuntimeException public class SingularMatrixException extends RuntimeException
{ {
private static final long serialVersionUID = -4744745375693073952L; private static final long serialVersionUID = -4744745375693073952L;
/** /**
* Creates a new exception. * Creates a new exception.
*/ */
public SingularMatrixException () { public SingularMatrixException () {