Fix: Java agent: update ref count in enabledLoggers
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 3 Aug 2015 20:40:03 +0000 (16:40 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 4 Aug 2015 18:59:59 +0000 (14:59 -0400)
commitc5e533a7343448a2c3342ca1f300f177124ce35d
tree8f34c5ed80ed45e814ba5afe618461d4e13ca932
parent55a6c989b3f2219cc543efa206db98cea0946e9f
Fix: Java agent: update ref count in enabledLoggers

Integer objects are immutable in Java, so

    Integer refcount = enabledLoggers.get(name);
    refcount--;

does not update the value in enabledLoggers.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust-java-agent/java/org/lttng/ust/agent/LogFrameworkSkeleton.java
This page took 0.024451 seconds and 4 git commands to generate.