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

Bug 331625

Summary: Unwritten field in GitResourceVariantTreeTest
Product: [Technology] EGit Reporter: Matthias Sohn <matthias.sohn>
Component: CoreAssignee: Dariusz Luksza <dariusz.luksza>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: dariusz.luksza
Version: 0.10.0   
Target Milestone: 0.10.0-M3   
Hardware: All   
OS: All   
Whiteboard:

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