Fix compilation warnings in the Java agent
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Fri, 26 Jun 2015 22:03:31 +0000 (18:03 -0400)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Mon, 29 Jun 2015 22:38:29 +0000 (18:38 -0400)
commitbc7de6d9ee9b44cc823c7ae524afbca3ed4e43f7
tree1911461dfdd041b6cfe341114445086a92a0e441
parentb70354ca485e2b7ae21be9eb7ecf323f7fc8f4b4
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.0263 seconds and 4 git commands to generate.