From: Alexandre Montplaisir Date: Mon, 29 Jun 2015 20:32:22 +0000 (-0400) Subject: cleanup: Mark obsolete JUL agent as @Deprecated X-Git-Tag: v2.7.0-rc1~13 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c518eed3ae6a1e54df15a517b1410e502e16b265;p=lttng-ust.git cleanup: Mark obsolete JUL agent as @Deprecated 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 --- diff --git a/liblttng-ust-java-agent/java/org/lttng/ust/jul/LTTngAgent.java b/liblttng-ust-java-agent/java/org/lttng/ust/jul/LTTngAgent.java index cd45ba13..c687c227 100644 --- a/liblttng-ust-java-agent/java/org/lttng/ust/jul/LTTngAgent.java +++ b/liblttng-ust-java-agent/java/org/lttng/ust/jul/LTTngAgent.java @@ -19,6 +19,7 @@ package org.lttng.ust.jul; import java.io.IOException; +@Deprecated public class LTTngAgent { /*