diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-08-28 16:05:41 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-08-28 16:15:44 +0200 |
commit | 9dc3b1bf6120e958e1a943a9c3c8432302bd25e3 (patch) | |
tree | 1b92362c42783436b1f75358300192aac7989968 /odk | |
parent | Java cleanup - remove unused parameters and fields (diff) | |
download | core-9dc3b1bf6120e958e1a943a9c3c8432302bd25e3.tar.gz core-9dc3b1bf6120e958e1a943a9c3c8432302bd25e3.zip |
Simplify/remove some methods named "dropTable"
Change-Id: Icbebe81fec6ce0b39946dec00f57471b2cafd5e1
Diffstat (limited to 'odk')
-rw-r--r-- | odk/examples/DevelopersGuide/Forms/HsqlDatabase.java | 15 |
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() |