Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 331544

Summary: Error in PersistenceBundleExtender.removeFromLazyBundles
Product: [RT] Gemini.JPA Reporter: Tom Ware <tom.ware>
Component: CoreAssignee: Michael Keith <michael.keith>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 1.0.0 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Tom Ware CLA 2010-12-01 09:29:21 EST
protected boolean removeFromLazyBundles(Bundle b) {
        return lazyBundles.add(b.getBundleId());
    }


should be

    protected boolean removeFromLazyBundles(Bundle b) {
        return lazyBundles.remove(b.getBundleId());
    }

looks like a cut-and paste-error
Comment 1 Michael Keith CLA 2011-02-11 16:21:50 EST
Fixed.