Fix: lttng java agent: dispose is non-static
[lttng-ust.git] / liblttng-ust-java-agent / java / lttng-ust-agent-common / org / lttng / ust / agent / LTTngAgent.java
index 1a6b59a622cf2b6797fdb2e53bb714be6946961b..c98301d738b8aa3a81f17ce240e687c88a047794 100644 (file)
@@ -49,9 +49,10 @@ public class LTTngAgent {
 
        /**
         * Dispose the agent. Applications should call this once they are done
-        * logging.
+        * logging. This dispose function is non-static for backwards
+        * compatibility purposes.
         */
-       public static synchronized void dispose() {
+       public synchronized void dispose() {
                if (instance != null) {
                        instance.disposeInstance();
                        instance = null;
This page took 0.023905 seconds and 4 git commands to generate.