From c518eed3ae6a1e54df15a517b1410e502e16b265 Mon Sep 17 00:00:00 2001 From: Alexandre Montplaisir Date: Mon, 29 Jun 2015 16:32:22 -0400 Subject: [PATCH] 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 --- liblttng-ust-java-agent/java/org/lttng/ust/jul/LTTngAgent.java | 1 + 1 file changed, 1 insertion(+) 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 { /* -- 2.34.1