[xtext] SerializerScopeProvider binding should redirect to IScopeProvider by default.

This commit is contained in:
Sven Efftinge 2013-01-28 14:50:05 +01:00
parent a369aa711f
commit ad5849a24f

View file

@ -144,7 +144,7 @@ public abstract class DefaultRuntimeModule extends AbstractGenericModule {
* @since 2.4
*/
public void configureSerializerIScopeProvider(Binder binder) {
binder.bind(IScopeProvider.class).annotatedWith(SerializerScopeProviderBinding.class).to(Key.get(IScopeProvider.class, LinkingScopeProviderBinding.class));
binder.bind(IScopeProvider.class).annotatedWith(SerializerScopeProviderBinding.class).to(IScopeProvider.class);
}
public void configureLinkingIScopeProvider(Binder binder) {