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

Bug 327341

Summary: Static Fields should be made Final
Product: [WebTools] WTP Source Editing Reporter: David Carver <d_a_carver>
Component: wst.xpathAssignee: David Carver <d_a_carver>
Status: NEW --- QA Contact: Jesper Moller <jesper>
Severity: normal    
Priority: P3 CC: thatnitind
Version: 3.2   
Target Milestone: Future   
Hardware: PC   
OS: Linux   
Whiteboard:

Description David Carver CLA 2010-10-08 10:25:57 EDT
FindBugs is reporting a couple of potential issues:

org.eclipse.wst.xml.xpath2.processor.PsychoPathTypeHelper.DAYTIMEDURATION_DT isn't final but should be

A mutable static field could be changed by malicious code or by accident from another package. The field could be made final to avoid this vulnerability.

org.eclipse.wst.xml.xpath2.processor.PsychoPathTypeHelper.YEARMONTHDURATION_DT isn't final but should be

A mutable static field could be changed by malicious code or by accident from another package. The field could be made final to avoid this vulnerability.

I'll make a fix for this.