Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352129 - Bogus synchronization block in XPathComputer
Summary: Bogus synchronization block in XPathComputer
Status: NEW
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xpath (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jesper Moller CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-14 12:10 EDT by Remy Suen CLA
Modified: 2011-07-14 12:10 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Remy Suen CLA 2011-07-14 12:10:46 EDT
In the changes for bug 340935 in v1.11 of the file, a line of code was deleted in the compute() method, making the synchronization block obsolete. Now the code looks like this...

public void compute() {
  synchronized (XPATH_LOCK) {
  }
  /* Other code not copied for brevity */
}