diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-01-25 14:26:58 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-01-25 14:26:58 +0000 |
commit | 1007a6917edfcd6ed67692c5cc1bb86dfe8d168c (patch) | |
tree | 48038a026daf30429553899a9ec48d60f77d4e05 /ridljar | |
parent | 0f053d772c60dfd6e89df9212aa0b67ac44b8ecf (diff) |
INTEGRATION: CWS gcj1 (1.17.18); FILE MERGED
2004/12/01 12:35:34 cmc 1.17.18.1: #i38188# gcj needs a little help to build this dir
Diffstat (limited to 'ridljar')
-rw-r--r-- | ridljar/com/sun/star/lib/uno/typedesc/TypeDescription.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ridljar/com/sun/star/lib/uno/typedesc/TypeDescription.java b/ridljar/com/sun/star/lib/uno/typedesc/TypeDescription.java index 969f15bf1962..d4a54b4dced8 100644 --- a/ridljar/com/sun/star/lib/uno/typedesc/TypeDescription.java +++ b/ridljar/com/sun/star/lib/uno/typedesc/TypeDescription.java @@ -2,9 +2,9 @@ * * $RCSfile: TypeDescription.java,v $ * - * $Revision: 1.17 $ + * $Revision: 1.18 $ * - * last change: $Author: obo $ $Date: 2004-06-04 02:50:49 $ + * last change: $Author: obo $ $Date: 2005-01-25 15:26:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -711,7 +711,7 @@ public final class TypeDescription implements ITypeDescription { public void put(TypeDescription desc) { synchronized (map) { cleanUp(); - map.put(desc.getTypeName(), new Entry(desc)); + map.put(desc.getTypeName(), new Entry(desc, queue)); } } @@ -725,8 +725,8 @@ public final class TypeDescription implements ITypeDescription { } } - private final class Entry extends SoftReference { - public Entry(TypeDescription desc) { + private static final class Entry extends SoftReference { + public Entry(TypeDescription desc, ReferenceQueue queue) { super(desc, queue); typeName = desc.getTypeName(); } |