Expose AbstractServerRequest.prettyPrint() 14/113814/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 2 Oct 2024 23:05:03 +0000 (01:05 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 2 Oct 2024 23:07:09 +0000 (01:07 +0200)
commit61e13bd888e137485342618861c39fef6c6b013a
tree8d6fdc07b000ee4fe3d0222f6d244a3311c12bdf
parent3a754884974bc4d76add2aa7a7680aa4404f3a0a
Expose AbstractServerRequest.prettyPrint()

Having this method limited to subclasses is quite limiting -- it means
that classes in the same package as a subclass cannot reference it.

Rather than requiring subclasses to provide a different method that
bridges to prettyPrint(), make the method public, which does no harm.

JIRA: NETCONF-1379
Change-Id: Ib3f307d650756e405aef2a850a2af8dd579fac1e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
protocol/restconf-server-api/src/main/java/org/opendaylight/restconf/server/api/AbstractServerRequest.java