Skip to content

Commit

Permalink
Do not bind YangTextSourceExtension
Browse files Browse the repository at this point in the history
There is no need to bind it again, since it is already bound from DOMSchemaService.

JIRA: LIGHTY-298
Signed-off-by: tobias.pobocik <[email protected]>
  • Loading branch information
Tobianas authored and ihrasko committed May 23, 2024
1 parent 934c9df commit 3dcab11
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ protected void configure() {
.toInstance(lightyServices.getActorSystemProvider());
bind(DOMSchemaService.class)
.toInstance(lightyServices.getDOMSchemaService());
bind(DOMSchemaService.YangTextSourceExtension.class)
.toInstance(lightyServices.getYangTextSourceExtension());
bind(DOMNotificationRouter.class)
.toInstance(lightyServices.getDOMNotificationRouter());
bind(DistributedDataStoreInterface.class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,6 @@ public void testDIDomSchemaService() {
assertNotNull(testService.getDomSchemaService());
}

@Test
public void testDIDomYangTextSourceProvider() {
assertNotNull(testService.getDomYangTextSourceProvider());
}

@Test
public void testDIDomNotificationSubscriptionListenerRegistry() {
assertNotNull(testService.getDomNotificationSubscriptionListenerRegistry());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ public class TestService {
@Inject
private DOMSchemaService domSchemaService;

@Inject
private DOMSchemaService.YangTextSourceExtension domYangTextSourceProvider;

@Inject
private DOMNotificationRouter domNotificationSubscriptionListenerRegistry;

Expand Down Expand Up @@ -148,10 +145,6 @@ public DOMSchemaService getDomSchemaService() {
return domSchemaService;
}

public DOMSchemaService.YangTextSourceExtension getDomYangTextSourceProvider() {
return domYangTextSourceProvider;
}

public DOMNotificationRouter getDomNotificationSubscriptionListenerRegistry() {
return domNotificationSubscriptionListenerRegistry;
}
Expand Down

0 comments on commit 3dcab11

Please sign in to comment.