mirror of
https://github.com/postgres/postgres.git
synced 2025-06-17 17:02:08 +03:00
JDBC indenting, comment cleanups.
This commit is contained in:
@ -7,7 +7,7 @@ import java.util.*;
|
||||
import java.sql.*;
|
||||
import org.postgresql.util.*;
|
||||
|
||||
/**
|
||||
/*
|
||||
* Each fastpath call requires an array of arguments, the number and type
|
||||
* dependent on the function being called.
|
||||
*
|
||||
@ -22,22 +22,22 @@ import org.postgresql.util.*;
|
||||
*/
|
||||
public class FastpathArg
|
||||
{
|
||||
/**
|
||||
/*
|
||||
* Type of argument, true=integer, false=byte[]
|
||||
*/
|
||||
public boolean type;
|
||||
|
||||
/**
|
||||
/*
|
||||
* Integer value if type=true
|
||||
*/
|
||||
public int value;
|
||||
|
||||
/**
|
||||
/*
|
||||
* Byte value if type=false;
|
||||
*/
|
||||
public byte[] bytes;
|
||||
|
||||
/**
|
||||
/*
|
||||
* Constructs an argument that consists of an integer value
|
||||
* @param value int value to set
|
||||
*/
|
||||
@ -47,7 +47,7 @@ public class FastpathArg
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* Constructs an argument that consists of an array of bytes
|
||||
* @param bytes array to store
|
||||
*/
|
||||
@ -57,7 +57,7 @@ public class FastpathArg
|
||||
this.bytes = bytes;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* Constructs an argument that consists of part of a byte array
|
||||
* @param buf source array
|
||||
* @param off offset within array
|
||||
@ -70,7 +70,7 @@ public class FastpathArg
|
||||
System.arraycopy(buf, off, bytes, 0, len);
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* Constructs an argument that consists of a String.
|
||||
* @param s String to store
|
||||
*/
|
||||
@ -79,7 +79,7 @@ public class FastpathArg
|
||||
this(s.getBytes());
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* This sends this argument down the network stream.
|
||||
*
|
||||
* <p>The stream sent consists of the length.int4 then the contents.
|
||||
|
Reference in New Issue
Block a user