diff options
Diffstat (limited to 'connectivity/com/sun')
3 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeStorageAccess.java b/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeStorageAccess.java index 3dc947091397..b2e08164f44c 100644 --- a/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeStorageAccess.java +++ b/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeStorageAccess.java @@ -45,7 +45,7 @@ public class NativeStorageAccess { throw new java.io.IOException(); } } - public native void openStream(String name,String key, int mode); + private native void openStream(String name,String key, int mode); public native void close(String name,String key) throws java.io.IOException; public native long getFilePointer(String name,String key) throws java.io.IOException; diff --git a/connectivity/com/sun/star/sdbcx/comp/hsqldb/StorageNativeInputStream.java b/connectivity/com/sun/star/sdbcx/comp/hsqldb/StorageNativeInputStream.java index bea6af9375d7..caeb103c23ca 100644 --- a/connectivity/com/sun/star/sdbcx/comp/hsqldb/StorageNativeInputStream.java +++ b/connectivity/com/sun/star/sdbcx/comp/hsqldb/StorageNativeInputStream.java @@ -30,7 +30,7 @@ public class StorageNativeInputStream { public StorageNativeInputStream(String key,String _file) { openStream(key,_file, NativeStorageAccess.READ); } - public native void openStream(String key,String name, int mode); + private native void openStream(String key,String name, int mode); public native int read(String key,String name) throws java.io.IOException; public native int read(String key,String name,byte[] b, int off, int len) throws java.io.IOException; public native void close(String key,String name) throws java.io.IOException; diff --git a/connectivity/com/sun/star/sdbcx/comp/hsqldb/StorageNativeOutputStream.java b/connectivity/com/sun/star/sdbcx/comp/hsqldb/StorageNativeOutputStream.java index 281c9b173d6d..94b431965d71 100644 --- a/connectivity/com/sun/star/sdbcx/comp/hsqldb/StorageNativeOutputStream.java +++ b/connectivity/com/sun/star/sdbcx/comp/hsqldb/StorageNativeOutputStream.java @@ -37,7 +37,7 @@ public class StorageNativeOutputStream { openStream(name, (String)key, NativeStorageAccess.WRITE | NativeStorageAccess.TRUNCATE); } - public native void openStream(String name,String key, int mode); + private native void openStream(String name,String key, int mode); /** * Writes <code>len</code> bytes from the specified byte array * starting at offset <code>off</code> to this output stream. |