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

Bug 361789

Summary: TrimUtil should have session scope
Product: [RT] RAP Reporter: Florian Waibel <fwaibel>
Component: WorkbenchAssignee: Project Inbox <rap-inbox>
Status: ASSIGNED --- QA Contact:
Severity: normal    
Priority: P3 CC: ruediger.herrmann
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Florian Waibel CLA 2011-10-24 05:58:41 EDT
The class TrimUtil holds a public static field:

public static final int TRIM_DEFAULT_HEIGHT;

This field is initialized by the first session that hits the server. All other sessions will use this value as it is computed in a static initializer block of TrimUtil.