Skip to content

Commit 181b571

Browse files
ahornaceVladimir Kotal
authored andcommitted
Metrics PR review fixes
1 parent 9808407 commit 181b571

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

opengrok-web/src/main/java/org/opengrok/web/api/v1/RestApp.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919

2020
/*
21-
* Copyright (c) 2018, 2020 Oracle and/or its affiliates. All rights reserved.
21+
* Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.
2222
*/
2323
package org.opengrok.web.api.v1;
2424

opengrok-web/src/main/java/org/opengrok/web/api/v1/controller/SuggesterController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919

2020
/*
21-
* Copyright (c) 2018, 2020 Oracle and/or its affiliates. All rights reserved.
21+
* Copyright (c) 2018, 2019 Oracle and/or its affiliates. All rights reserved.
2222
* Portions Copyright (c) 2020, Chris Fraire <[email protected]>.
2323
*/
2424
package org.opengrok.web.api.v1.controller;

opengrok-web/src/main/java/org/opengrok/web/servlet/MetricsServlet.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
@WebServlet("/metrics/prometheus")
3535
public class MetricsServlet extends HttpServlet {
3636

37+
private static final long serialVersionUID = 0L;
38+
3739
@Override
3840
protected void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws IOException {
3941
try (PrintWriter pw = resp.getWriter()) {

0 commit comments

Comments
 (0)