Bug 361789 - TrimUtil should have session scope
Summary: TrimUtil should have session scope
Status: ASSIGNED
Alias: None
Product: RAP
Classification: RT
Component: Workbench (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-24 05:58 EDT by Florian Waibel CLA
Modified: 2011-10-24 06:23 EDT (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 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.