Hi, Cedric,

As best as I can remember some dailyproject objects have reference to workspace 
because the metric values are computed on the fly with workspace data. With the 
changes you have made on DailyProjectData it may not be the case anymore. Just 
be careful when you decide to take this method out.

Cheers,
Hongbing

----- Original Message -----
From: "(Cedric) Qin ZHANG" <[EMAIL PROTECTED]>
Date: Sunday, March 26, 2006 12:34 am
Subject: [HACKYSTAT-DEV-L] Cache invalidation in DailyProjectData
To: [email protected]

> Hi, Hongbing,
> 
> While I was modifying all DailyProject instances to make them 
> respect 
> project start and end day, I came across this method in the super 
> class: 
> DailyProjectData.
> 
>  /**
>   * Indicates whether or not this class of DailyProjectData 
> instances 
> holds Workspace-related
>   * instances. If so, then when the WorkspaceRoot for any member 
> of the 
> project changes, these
>   * analysis instances are flushed from the DailyProjectData cache.
>   * @return False, the default behavior that is inherited to all 
> subclasses unless
>   */
>  public static boolean hasWorkspaceData() {
>    return false;
>  }
> 
> It seems there is zero reference to this method in Core_Common. If 
> I am 
> right, we'd better get rid of it. Can you confirm?
> 
> Thanks.
> 
> Cedric
> 

Reply via email to