Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331625 - Unwritten field in GitResourceVariantTreeTest
Summary: Unwritten field in GitResourceVariantTreeTest
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 0.10.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.10.0-M3   Edit
Assignee: Dariusz Luksza CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-01 19:57 EST by Matthias Sohn CLA
Modified: 2010-12-02 17:17 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Sohn CLA 2010-12-01 19:57:02 EST
This problem reported by FindBugs is most probably a bug :

Bug: Unwritten field: org.eclipse.egit.core.synchronize.GitResourceVariantTreeTest.store
Pattern id: UWF_UNWRITTEN_FIELD, type: UwF, category: CORRECTNESS

This field is never written.  All reads of it will return the default value. Check for errors (should it have been initialized?), or remove it if it is useless.
Comment 1 Dariusz Luksza CLA 2010-12-02 03:52:50 EST
Thank you Matthias for this information, this path should fix this problem:

http://egit.eclipse.org/r/1998
Comment 2 Matthias Sohn CLA 2010-12-02 17:17:58 EST
merged as 36033c7d87005046a8e2878d61ca53e2a4ceaf3a