Whitespace and formatting cleanups.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@651 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -470,7 +470,6 @@ public class Table {
|
||||
return nDeleted;
|
||||
}
|
||||
|
||||
|
||||
/** Delete records with specified primary keys from the table.
|
||||
*
|
||||
* @param objects array of objects containing values of primary key.
|
||||
@@ -652,7 +651,6 @@ public class Table {
|
||||
insertIntoTableHierarchy();
|
||||
}
|
||||
|
||||
|
||||
private final void insertIntoTableHierarchy()
|
||||
{
|
||||
Table t, prev = null;
|
||||
@@ -903,7 +901,6 @@ public class Table {
|
||||
bindQueryVariables(pstmt, obj, 0, nFields, 0);
|
||||
}
|
||||
|
||||
|
||||
protected final void updateVariables(ResultSet result, Object obj)
|
||||
throws SQLException
|
||||
{
|
||||
@@ -911,7 +908,6 @@ public class Table {
|
||||
result.updateRow();
|
||||
}
|
||||
|
||||
|
||||
protected final String buildQueryList(Object qbe)
|
||||
{
|
||||
StringBuffer buf = new StringBuffer();
|
||||
@@ -922,7 +918,6 @@ public class Table {
|
||||
return "select " + listOfFields + " from " + name + buf;
|
||||
}
|
||||
|
||||
|
||||
private final int bindUpdateVariables(PreparedStatement pstmt, Object obj,
|
||||
int i, int end, int column)
|
||||
throws SQLException
|
||||
@@ -942,8 +937,9 @@ public class Table {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
pstmt.setNull(++column,
|
||||
FieldDescriptor.sqlTypeMapping[fd.outType]);
|
||||
pstmt.setNull(
|
||||
++column,
|
||||
FieldDescriptor.sqlTypeMapping[fd.outType]);
|
||||
}
|
||||
} else {
|
||||
if (!fd.bindVariable(pstmt, obj, ++column)) {
|
||||
|
||||
Reference in New Issue
Block a user