summaryrefslogtreecommitdiff
path: root/jurt
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-04-10 09:35:19 -0500
committerCaolán McNamara <caolanm@redhat.com>2013-04-10 16:25:32 +0100
commitacd3b6e624d7e853374c1e9c7b894a8eb1a6f8e4 (patch)
tree0b836be939e8c4f48c7c0063bc49f7d5baecf876 /jurt
parentf6789641af5e1c7ecd4a65ea5deb020c5d3367e5 (diff)
workaround IBM java 1.5.0 inconvertible types error
Change-Id: I84533723e9f42a27e2942c28b53232630db82e10
Diffstat (limited to 'jurt')
-rw-r--r--jurt/com/sun/star/lib/uno/environments/java/java_environment.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/jurt/com/sun/star/lib/uno/environments/java/java_environment.java b/jurt/com/sun/star/lib/uno/environments/java/java_environment.java
index 1fdfdf9e3d9b..522ca8c2408b 100644
--- a/jurt/com/sun/star/lib/uno/environments/java/java_environment.java
+++ b/jurt/com/sun/star/lib/uno/environments/java/java_environment.java
@@ -206,7 +206,8 @@ public final class java_environment implements IEnvironment {
// must only be called while synchronized on this Registry:
private void cleanUp() {
for (;;) {
- Level2Entry l2 = (Level2Entry) queue.poll();
+ Object tmp = queue.poll();
+ Level2Entry l2 = (Level2Entry) tmp;
if (l2 == null) {
break;
}