summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-13 10:08:31 +0200
committerNoel Grandin <noel@peralex.com>2014-08-13 10:24:10 +0200
commit34bcf9b498bccb5c924f4cec850ff15d88df6f07 (patch)
tree4d9604ec8c3b73639338ec45a0618b5daa5cf0ed /connectivity
parent347926e8e57c1825261daa46c1886aa2ebf9571b (diff)
java: remove dead methods
found by UCDetector Change-Id: I219caa8e680dba5a395541a778df6144841c4dde
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeStorageAccess.java4
-rw-r--r--connectivity/qa/connectivity/tools/sdb/Connection.java18
2 files changed, 2 insertions, 20 deletions
diff --git a/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeStorageAccess.java b/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeStorageAccess.java
index b2e08164f44c..679d41e1b469 100644
--- a/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeStorageAccess.java
+++ b/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeStorageAccess.java
@@ -56,11 +56,11 @@ public class NativeStorageAccess {
public native int read(String name,String key,byte[] b, int off, int len) throws java.io.IOException;
- public native int readInt(String name,String key) throws java.io.IOException;
+
public native void seek(String name,String key,long position) throws java.io.IOException;
public native void write(String name,String key,byte[] b, int offset, int length) throws java.io.IOException;
- public native void writeInt(String name,String key,int v) throws java.io.IOException;
+
}
diff --git a/connectivity/qa/connectivity/tools/sdb/Connection.java b/connectivity/qa/connectivity/tools/sdb/Connection.java
index f530fa9af92e..e3c006aefbb8 100644
--- a/connectivity/qa/connectivity/tools/sdb/Connection.java
+++ b/connectivity/qa/connectivity/tools/sdb/Connection.java
@@ -48,24 +48,6 @@ public class Connection
return m_connection;
}
- public boolean execute( final String _sql ) throws SQLException
- {
- XStatement statement = createStatement();
- return statement.execute( _sql );
- }
-
- public XResultSet executeQuery( final String _sql ) throws SQLException
- {
- XStatement statement = createStatement();
- return statement.executeQuery( _sql );
- }
-
- public int executeUpdate( final String _sql ) throws SQLException
- {
- XStatement statement = createStatement();
- return statement.executeUpdate( _sql );
- }
-
public void refreshTables()
{
final XTablesSupplier suppTables = UnoRuntime.queryInterface(XTablesSupplier.class, m_connection);