mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
JDBC indenting, comment cleanups.
This commit is contained in:
@@ -4,23 +4,23 @@ import java.io.*;
|
||||
import java.sql.*;
|
||||
import org.postgresql.util.*;
|
||||
|
||||
/**
|
||||
/*
|
||||
* This represents org.postgresql's circle datatype, consisting of a point and
|
||||
* a radius
|
||||
*/
|
||||
public class PGcircle extends PGobject implements Serializable, Cloneable
|
||||
{
|
||||
/**
|
||||
/*
|
||||
* This is the centre point
|
||||
*/
|
||||
public PGpoint center;
|
||||
|
||||
/**
|
||||
/*
|
||||
* This is the radius
|
||||
*/
|
||||
double radius;
|
||||
|
||||
/**
|
||||
/*
|
||||
* @param x coordinate of centre
|
||||
* @param y coordinate of centre
|
||||
* @param r radius of circle
|
||||
@@ -30,7 +30,7 @@ public class PGcircle extends PGobject implements Serializable, Cloneable
|
||||
this(new PGpoint(x, y), r);
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* @param c PGpoint describing the circle's centre
|
||||
* @param r radius of circle
|
||||
*/
|
||||
@@ -41,7 +41,7 @@ public class PGcircle extends PGobject implements Serializable, Cloneable
|
||||
this.radius = r;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* @param s definition of the circle in PostgreSQL's syntax.
|
||||
* @exception SQLException on conversion failure
|
||||
*/
|
||||
@@ -51,7 +51,7 @@ public class PGcircle extends PGobject implements Serializable, Cloneable
|
||||
setValue(s);
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* This constructor is used by the driver.
|
||||
*/
|
||||
public PGcircle()
|
||||
@@ -59,7 +59,7 @@ public class PGcircle extends PGobject implements Serializable, Cloneable
|
||||
setType("circle");
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* @param s definition of the circle in PostgreSQL's syntax.
|
||||
* @exception SQLException on conversion failure
|
||||
*/
|
||||
@@ -80,7 +80,7 @@ public class PGcircle extends PGobject implements Serializable, Cloneable
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* @param obj Object to compare with
|
||||
* @return true if the two boxes are identical
|
||||
*/
|
||||
@@ -94,7 +94,7 @@ public class PGcircle extends PGobject implements Serializable, Cloneable
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* This must be overidden to allow the object to be cloned
|
||||
*/
|
||||
public Object clone()
|
||||
@@ -102,7 +102,7 @@ public class PGcircle extends PGobject implements Serializable, Cloneable
|
||||
return new PGcircle((PGpoint)center.clone(), radius);
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* @return the PGcircle in the syntax expected by org.postgresql
|
||||
*/
|
||||
public String getValue()
|
||||
|
Reference in New Issue
Block a user