summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-08-28 16:05:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-08-28 16:15:44 +0200
commit9dc3b1bf6120e958e1a943a9c3c8432302bd25e3 (patch)
tree1b92362c42783436b1f75358300192aac7989968 /odk
parent05f7bb2e3eba3cdf0098b63e9431c76001738794 (diff)
Simplify/remove some methods named "dropTable"
Change-Id: Icbebe81fec6ce0b39946dec00f57471b2cafd5e1
Diffstat (limited to 'odk')
-rw-r--r--odk/examples/DevelopersGuide/Forms/HsqlDatabase.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java b/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java
index 1b8a9e186356..b0c26872bf27 100644
--- a/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java
+++ b/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java
@@ -210,21 +210,6 @@ public class HsqlDatabase
return (XModel)UnoRuntime.queryInterface( XModel.class, m_databaseDocument );
}
- /** drops the table with a given name
-
- @param _name
- the name of the table to drop
- @param _ifExists
- TRUE if it should be dropped only when it exists.
- */
- public void dropTable( String _name, boolean _ifExists ) throws SQLException
- {
- String dropStatement = "DROP TABLE \"" + _name;
- if ( _ifExists )
- dropStatement += "\" IF EXISTS";
- executeSQL( dropStatement );
- }
-
/** returns the URL of the ODB document represented by this instance
*/
public String getDocumentURL()