According to our java style guide, when line-wrapping, each line after
the first (each continuation line) is indented at least +4 from the
original line.
Format RestconfSchemaServiceTest and ParserIdentifierTest according to
that.
Change-Id: Iac8ad245624c6d4a2bc2df635517d8c7d5d80fef
Signed-off-by: Jakub Morvay <jmorvay@frinx.io>
this.mountPointService = new DOMMountPointServiceImpl();
// create and register mount points
this.mountPointService = new DOMMountPointServiceImpl();
// create and register mount points
- mountPointService.createMountPoint(
- YangInstanceIdentifier.of(QName.create("mount:point:1", "2016-01-01", "cont")))
- .addInitialSchemaContext(schemaContextBehindMountPoint).register();
- mountPointService.createMountPoint(
- YangInstanceIdentifier.of(QName.create("mount:point:2", "2016-01-01", "cont"))).register();
+ mountPointService
+ .createMountPoint(YangInstanceIdentifier.of(QName.create("mount:point:1", "2016-01-01", "cont")))
+ .addInitialSchemaContext(schemaContextBehindMountPoint)
+ .register();
+ mountPointService
+ .createMountPoint(YangInstanceIdentifier.of(QName.create("mount:point:2", "2016-01-01", "cont")))
+ .register();
this.schemaService = new RestconfSchemaServiceImpl(this.mockContextHandler,
DOMMountPointServiceHandler.newInstance(mountPointService), sourceProvider);
this.schemaService = new RestconfSchemaServiceImpl(this.mockContextHandler,
DOMMountPointServiceHandler.newInstance(mountPointService), sourceProvider);
this.mountPointService = new DOMMountPointServiceImpl();
// create and register mount point
this.mountPointService = new DOMMountPointServiceImpl();
// create and register mount point
- mountPoint = mountPointService.createMountPoint(YangInstanceIdentifier.builder()
- .node(QName.create("mount:point", "2016-06-02", "mount-container"))
- .node(QName.create("mount:point", "2016-06-02", "point-number"))
- .build())
- .addInitialSchemaContext(this.schemaContextOnMountPoint).register().getInstance();
+ final YangInstanceIdentifier mountPointId = YangInstanceIdentifier.builder()
+ .node(QName.create("mount:point", "2016-06-02", "mount-container"))
+ .node(QName.create("mount:point", "2016-06-02", "point-number"))
+ .build();
+
+ mountPoint = mountPointService.createMountPoint(mountPointId)
+ .addInitialSchemaContext(this.schemaContextOnMountPoint)
+ .register()
+ .getInstance();
// register mount point with null schema context
when(this.mockMountPoint.getSchemaContext()).thenReturn(null);
// register mount point with null schema context
when(this.mockMountPoint.getSchemaContext()).thenReturn(null);