summaryrefslogtreecommitdiff
path: root/connectivity/com
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-06 08:55:09 +0200
committerNoel Grandin <noel@peralex.com>2014-08-12 09:41:28 +0200
commit0477e6c39b7ce8b7f6560fbf222c19fe4f358dc8 (patch)
tree218eba20dd23c6a865cf01aa7532bf1261a69bc8 /connectivity/com
parente2e55a7c49079dfd896da6515b98d451e4c8735b (diff)
java: add @Override annotation to overriding methods
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
Diffstat (limited to 'connectivity/com')
-rw-r--r--connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeInputStreamHelper.java6
-rw-r--r--connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeOutputStreamHelper.java5
2 files changed, 11 insertions, 0 deletions
diff --git a/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeInputStreamHelper.java b/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeInputStreamHelper.java
index 62e17e252a2c..c8e7d5d84b03 100644
--- a/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeInputStreamHelper.java
+++ b/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeInputStreamHelper.java
@@ -34,26 +34,32 @@ public class NativeInputStreamHelper extends java.io.InputStream{
in = new StorageNativeInputStream(key,file);
}
+ @Override
public int read() throws java.io.IOException {
return in.read(key,file);
}
+ @Override
public int read(byte[] b, int off, int len) throws java.io.IOException {
return in.read(key,file,b,off,len);
}
+ @Override
public void close() throws java.io.IOException {
in.close(key,file);
}
+ @Override
public long skip(long n) throws java.io.IOException {
return in.skip(key,file,n);
}
+ @Override
public int available() throws java.io.IOException {
return in.available(key,file);
}
+ @Override
public int read(byte[] b) throws java.io.IOException {
return in.read(key,file,b);
}
diff --git a/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeOutputStreamHelper.java b/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeOutputStreamHelper.java
index 922e7111355a..24776f25c2f4 100644
--- a/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeOutputStreamHelper.java
+++ b/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeOutputStreamHelper.java
@@ -36,22 +36,27 @@ public class NativeOutputStreamHelper extends java.io.OutputStream{
out = new StorageNativeOutputStream(file,key);
}
+ @Override
public void write(byte[] b, int off, int len) throws java.io.IOException{
out.write(key,file,b, off, len);
}
+ @Override
public void write(byte[] b) throws java.io.IOException{
out.write(key,file,b);
}
+ @Override
public void close() throws java.io.IOException{
out.close(key,file);
}
+ @Override
public void write(int b) throws java.io.IOException{
out.write(key,file,b);
}
+ @Override
public void flush() throws java.io.IOException{
out.flush(key,file);
}