Skip to content

Commit

Permalink
Make Servlet field final, as required by Sonar.
Browse files Browse the repository at this point in the history
  • Loading branch information
steinarb committed Nov 29, 2017
1 parent 609c938 commit 1f49ffb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
@Component(service={Servlet.class}, property={"alias=/post-body-capture"} )
public class PostBodyCaptureServlet extends HttpServlet {
private static final long serialVersionUID = 1L;
private LogServiceAdapter logservice = new LogServiceAdapter();
private final LogServiceAdapter logservice = new LogServiceAdapter();

@Reference
public void setLogservice(LogService logservice) {
Expand Down

0 comments on commit 1f49ffb

Please sign in to comment.