summaryrefslogtreecommitdiff
path: root/javaunohelper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-09 10:51:42 +0200
committerNoel Grandin <noel@peralex.com>2015-06-09 13:10:43 +0200
commit441407571e2a45b08bcafc507524135e48e3a2d1 (patch)
treec17dfb392adff7ca639d2e8c015465102540a626 /javaunohelper
parent0f2007b11b4a0b39bc4e67ade30961f0d533474a (diff)
java:Non-synchronized method should not override a synchronized method
Change-Id: I46307828757ee1142747c14d2942515340083605
Diffstat (limited to 'javaunohelper')
-rw-r--r--javaunohelper/com/sun/star/lib/uno/adapter/XInputStreamToInputStreamAdapter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/javaunohelper/com/sun/star/lib/uno/adapter/XInputStreamToInputStreamAdapter.java b/javaunohelper/com/sun/star/lib/uno/adapter/XInputStreamToInputStreamAdapter.java
index 978d10f6a5a6..e3280c1bb91b 100644
--- a/javaunohelper/com/sun/star/lib/uno/adapter/XInputStreamToInputStreamAdapter.java
+++ b/javaunohelper/com/sun/star/lib/uno/adapter/XInputStreamToInputStreamAdapter.java
@@ -206,12 +206,12 @@ public final class XInputStreamToInputStreamAdapter extends InputStream {
}
@Override
- public void mark(int readlimit) {
+ public synchronized void mark(int readlimit) {
// Not supported.
}
@Override
- public void reset() throws IOException {
+ public synchronized void reset() throws IOException {
// Not supported.
}
}