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>
* logging. This dispose function is non-static for backwards
* compatibility purposes.
*/
+ @SuppressWarnings("static-method")
public void dispose() {
synchronized (LTTngAgent.class) {
if (instance != null) {