summaryrefslogtreecommitdiff
path: root/jurt
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-01-22 12:47:47 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-01-22 12:47:47 +0100
commitcd9cafe54c87768ddde007228dc1d3f3b7e68f92 (patch)
tree36b140a33d22f70cc013b8dc3f1023cbf10d3915 /jurt
parent288d1f802d306dc741df60c029c50850e7e5fd6b (diff)
cid#1326191 is a false positive
and trying to appease Coverity with throwing a (checked---semantics attached!) java.io.IOException is plain wrong. Change-Id: Icece5ac74d482791d089f40ec201bc39d61db177
Diffstat (limited to 'jurt')
-rw-r--r--jurt/com/sun/star/lib/uno/protocols/urp/urp.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/jurt/com/sun/star/lib/uno/protocols/urp/urp.java b/jurt/com/sun/star/lib/uno/protocols/urp/urp.java
index cea15dbf1b2b..5e7b3288866c 100644
--- a/jurt/com/sun/star/lib/uno/protocols/urp/urp.java
+++ b/jurt/com/sun/star/lib/uno/protocols/urp/urp.java
@@ -619,10 +619,8 @@ public final class urp implements IProtocol {
for (int i = releaseQueue.size(); i > 0;) {
--i;
QueuedRelease r = releaseQueue.get(i);
- if (r == null)
- throw new IOException("releaseQueue unexpected empty");
writeRequest(
- r.internal, r.objectId, r.type, r.method, r.threadId, null,
+ r.internal, r.objectId, r.type, r.method, r.threadId, null,
false);
releaseQueue.remove(i);
}