Fix compilation warnings in the Java agent
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Fri, 26 Jun 2015 22:03:31 +0000 (18:03 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 29 Jun 2015 23:31:44 +0000 (19:31 -0400)
commit57224e35dc604c8180123c79383b8d504badc6b6
tree2e8b1a460518f8e1595071d8210cca672844a817
parent7465c8c4ab045c9a317872c219b2a98c0cf5b4f6
Fix compilation warnings in the Java agent

- Remove unused imports.
- Access static fields statically.
- Mark static methods that can be.
- Remove exception declarations that are not actually thrown
  (on non-API methods only).

Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
liblttng-ust-java-agent/java/org/lttng/ust/agent/LTTngAgent.java
liblttng-ust-java-agent/java/org/lttng/ust/agent/LTTngSessiondCmd2_6.java
liblttng-ust-java-agent/java/org/lttng/ust/agent/LTTngTCPSessiondClient.java
liblttng-ust-java-agent/java/org/lttng/ust/agent/log4j/LTTngLog4j.java
This page took 0.024827 seconds and 4 git commands to generate.