cleanup: Mark obsolete JUL agent as @Deprecated
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Mon, 29 Jun 2015 20:32:22 +0000 (16:32 -0400)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Mon, 29 Jun 2015 23:25:09 +0000 (19:25 -0400)
Java has a @Deprecated annotation to indicate deprecated classes
(or methods, members, etc.). This will keep the code available for
backwards compatibility, but will emit a warning to any user calling
it.

Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
liblttng-ust-java-agent/java/org/lttng/ust/jul/LTTngAgent.java

index cd45ba13cab0f0dc8edd13dea11fc779ceb3e1a1..c687c22714d99a926ffe03e59c9c4905558965a1 100644 (file)
@@ -19,6 +19,7 @@ package org.lttng.ust.jul;
 
 import java.io.IOException;
 
+@Deprecated
 public class LTTngAgent {
 
        /*
This page took 0.026409 seconds and 4 git commands to generate.