Skip to content

Commit

Permalink
Make ServersStream fields final
Browse files Browse the repository at this point in the history
The ServersStream class fields are effectively final.
Mark them with final keyword.

Change-Id: Ib28c78e166e500022185f3c7e08e763344e98511
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
  • Loading branch information
ihrasko committed Jan 15, 2024
1 parent e4d0ef3 commit 23ca1f9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
import org.opendaylight.restconf.openapi.model.ServersEntity;

public final class ServersStream extends InputStream {
private ServersEntity entity;
private OpenApiBodyWriter writer;
private final ServersEntity entity;
private final OpenApiBodyWriter writer;

private Reader reader;

Expand Down

0 comments on commit 23ca1f9

Please sign in to comment.