Merge pull request #1400 from eclipse/jk-gh1394

[#1394] deprecate single WS root config and schedule it for removal
This commit is contained in:
Jan Koehnlein 2020-02-26 10:01:13 +01:00 committed by GitHub
commit f0f35d5298
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -14,7 +14,10 @@ import org.eclipse.xtext.workspace.IWorkspaceConfig;
/**
* @author Jan Koehnlein - Initial contribution and API
* @since 2.11
* @deprecated use the {@link IMultiRootWorkspaceConfigFactory} instead.
* This interface is scheduled to be removed with 2.22.
*/
@Deprecated//(forRemoval=true)
public interface IWorkspaceConfigFactory {
/**
* Create a workspace config at the given location.

View file

@ -18,7 +18,10 @@ import org.eclipse.xtext.workspace.WorkspaceConfig;
*
* @author Jan Koehnlein - Initial contribution and API
* @since 2.11
* @deprecated use the {@link MultiRootWorkspaceConfigFactory} instead.
* This class is scheduled to be removed with 2.22.
*/
@Deprecated//(forRemoval=true)
public class ProjectWorkspaceConfigFactory implements IWorkspaceConfigFactory {
@Override
public IWorkspaceConfig getWorkspaceConfig(URI workspaceBaseURI) {