Suppress static method warning
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Thu, 2 Jun 2016 03:03:07 +0000 (23:03 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 2 Jun 2016 13:21:34 +0000 (15:21 +0200)
The LTTngAgent#dispose method is static on purpose (see commit
9355f049), and will remain so as long as this agent will be
supported, so we can suppress the compiler warning telling
us the method can be made static.

Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/LTTngAgent.java

index 6b4f0135de08e4f05ffd0fa8ab472f55d6ddd212..ebbe2357770b6c9b57e6f386fab1f89c22d0e140 100644 (file)
@@ -52,6 +52,7 @@ public class LTTngAgent {
         * logging. This dispose function is non-static for backwards
         * compatibility purposes.
         */
+       @SuppressWarnings("static-method")
        public void dispose() {
                synchronized (LTTngAgent.class) {
                        if (instance != null) {
This page took 0.025887 seconds and 4 git commands to generate.