Rule n°1 :
...
List<Mapping> interList =
mappingList.stream().filter(x -> x.getLogicalConnectionPoint().split("-")[0].equals(str))
.collect(Collectors.toList());
Rule n°2 :
A line should not measure more than 120 char
...
We must divide intelligently line for example revision date should not be split from NS base.
new org.opendaylight.yang.gen.v1.http.transportpce.topology.rev220123.TerminationPoint1Builder()
.setAssociatedConnectionMapPort(m.getConnectionMapLcp()).build();