mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
JDBC indenting, comment cleanups.
This commit is contained in:
@ -4,7 +4,7 @@ import java.io.*;
|
||||
import java.sql.*;
|
||||
import org.postgresql.util.*;
|
||||
|
||||
/**
|
||||
/*
|
||||
* This implements a line consisting of two points.
|
||||
*
|
||||
* Currently line is not yet implemented in the backend, but this class
|
||||
@ -12,12 +12,12 @@ import org.postgresql.util.*;
|
||||
*/
|
||||
public class PGline extends PGobject implements Serializable, Cloneable
|
||||
{
|
||||
/**
|
||||
/*
|
||||
* These are the two points.
|
||||
*/
|
||||
public PGpoint point[] = new PGpoint[2];
|
||||
|
||||
/**
|
||||
/*
|
||||
* @param x1 coordinate for first point
|
||||
* @param y1 coordinate for first point
|
||||
* @param x2 coordinate for second point
|
||||
@ -28,7 +28,7 @@ public class PGline extends PGobject implements Serializable, Cloneable
|
||||
this(new PGpoint(x1, y1), new PGpoint(x2, y2));
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* @param p1 first point
|
||||
* @param p2 second point
|
||||
*/
|
||||
@ -39,7 +39,7 @@ public class PGline extends PGobject implements Serializable, Cloneable
|
||||
this.point[1] = p2;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* @param s definition of the circle in PostgreSQL's syntax.
|
||||
* @exception SQLException on conversion failure
|
||||
*/
|
||||
@ -49,7 +49,7 @@ public class PGline extends PGobject implements Serializable, Cloneable
|
||||
setValue(s);
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* reuired by the driver
|
||||
*/
|
||||
public PGline()
|
||||
@ -57,7 +57,7 @@ public class PGline extends PGobject implements Serializable, Cloneable
|
||||
setType("line");
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* @param s Definition of the line segment in PostgreSQL's syntax
|
||||
* @exception SQLException on conversion failure
|
||||
*/
|
||||
@ -71,7 +71,7 @@ public class PGline extends PGobject implements Serializable, Cloneable
|
||||
point[1] = new PGpoint(t.getToken(1));
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* @param obj Object to compare with
|
||||
* @return true if the two boxes are identical
|
||||
*/
|
||||
@ -86,7 +86,7 @@ public class PGline extends PGobject implements Serializable, Cloneable
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* This must be overidden to allow the object to be cloned
|
||||
*/
|
||||
public Object clone()
|
||||
@ -94,7 +94,7 @@ public class PGline extends PGobject implements Serializable, Cloneable
|
||||
return new PGline((PGpoint)point[0].clone(), (PGpoint)point[1].clone());
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* @return the PGline in the syntax expected by org.postgresql
|
||||
*/
|
||||
public String getValue()
|
||||
|
Reference in New Issue
Block a user