@@ -0,0 +1,1680 @@
+package org.apache.commons.jcs.engine.memory.util;%0D%0A%0D%0A/*%0D%0A * Licensed to the Apache Software Foundation (ASF) under one%0D%0A * or more contributor license agreements.  See the NOTICE file%0D%0A * distributed with this work for additional information%0D%0A * regarding copyright ownership.  The ASF licenses this file%0D%0A * to you under the Apache License, Version 2.0 (the%0D%0A * %22License%22); you may not use this file except in compliance%0D%0A * with the License.  You may obtain a copy of the License at%0D%0A *%0D%0A *   http://www.apache.org/licenses/LICENSE-2.0%0D%0A *%0D%0A * Unless required by applicable law or agreed to in writing,%0D%0A * software distributed under the License is distributed on an%0D%0A * %22AS IS%22 BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY%0D%0A * KIND, either express or implied.  See the License for the%0D%0A * specific language governing permissions and limitations%0D%0A * under the License.%0D%0A */%0D%0A%0D%0Aimport org.apache.commons.jcs.engine.behavior.ICacheElement;%0D%0A%0D%0A/**%0D%0A * This wrapper is needed for double linked lists.%0D%0A */%0D%0Apublic class DefaultMemoryElementDescriptor%3CK, V%3E%0D%0A    extends MemoryElementDescriptor%3CK, V%3E%0D%0A%7B%0D%0A    /** Don't change */%0D%0A    private static final long serialVersionUID = -1905161209035522460L;%0D%0A%0D%0A    /** The CacheElement wrapped by this descriptor */%0D%0A    private final ICacheElement%3CK, V%3E ce;%0D%0A%0D%0A    /**%0D%0A     * Constructs a usable MemoryElementDescriptor.%0D%0A     * %3Cp%3E%0D%0A     * @param ce%0D%0A     */%0D%0A    public DefaultMemoryElementDescriptor( ICacheElement%3CK, V%3E ce )%0D%0A    %7B%0D%0A        super( ce );%0D%0A        this.ce = ce;%0D%0A    %7D%0D%0A%0D%0A    /**%0D%0A     * @return the ce%0D%0A     */%0D%0A    @Override%0D%0A    public ICacheElement%3CK, V%3E getCacheElement()%0D%0A    %7B%0D%0A        return ce;%0D%0A    %7D%0D%0A%7D%0D%0A

Make sure the SoftReference can actually be garbage collected.