Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] Workspace location, properties and declarative services

On 23 Mar 2021, at 10:58, Sebastian Zarnekow <sebastian.zarnekow@xxxxxxxxx> wrote:

Hi Alex,

given the long explanation for the issue and the impact such a change might have on downstream consumers along with the scray feeling that I have about code like

public class Workspace .. {
/**
 * Used by ResourcesPlugin to identify the workspace, not for other uses.
 */
public static IWorkspace singleton;
..
}

To be fair, that’s just what the ResourcesPlugin does at the moment:


It was a refactoring that essentially moved it from ResourcesPlugin.workspace to Workspace.workspace for better locality. This is where it initialises the static singleton at the moment:


Alex

Back to the top