From 6a770f02d4ba40da4e643feae52929ed6fe7673c Mon Sep 17 00:00:00 2001 From: yx9o Date: Mon, 10 Jan 2022 11:06:53 +0800 Subject: [PATCH] Correct mismatched comments. (#2075) --- .../com/taobao/arthas/core/advisor/AdviceListener.java | 9 +++------ .../com/taobao/arthas/core/advisor/AdviceWeaver.java | 3 +-- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/core/src/main/java/com/taobao/arthas/core/advisor/AdviceListener.java b/core/src/main/java/com/taobao/arthas/core/advisor/AdviceListener.java index fa7511b19..f9e249800 100644 --- a/core/src/main/java/com/taobao/arthas/core/advisor/AdviceListener.java +++ b/core/src/main/java/com/taobao/arthas/core/advisor/AdviceListener.java @@ -23,8 +23,7 @@ public interface AdviceListener { /** * 前置通知 * - * @param loader 类加载器 - * @param className 类名 + * @param clazz 类 * @param methodName 方法名 * @param methodDesc 方法描述 * @param target 目标类实例 @@ -39,8 +38,7 @@ public interface AdviceListener { /** * 返回通知 * - * @param loader 类加载器 - * @param className 类名 + * @param clazz 类 * @param methodName 方法名 * @param methodDesc 方法描述 * @param target 目标类实例 @@ -58,8 +56,7 @@ public interface AdviceListener { /** * 异常通知 * - * @param loader 类加载器 - * @param className 类名 + * @param clazz 类 * @param methodName 方法名 * @param methodDesc 方法描述 * @param target 目标类实例 diff --git a/core/src/main/java/com/taobao/arthas/core/advisor/AdviceWeaver.java b/core/src/main/java/com/taobao/arthas/core/advisor/AdviceWeaver.java index aadcbca68..b918f3dca 100644 --- a/core/src/main/java/com/taobao/arthas/core/advisor/AdviceWeaver.java +++ b/core/src/main/java/com/taobao/arthas/core/advisor/AdviceWeaver.java @@ -25,7 +25,6 @@ public class AdviceWeaver { /** * 注册监听器 * - * @param adviceId 通知ID * @param listener 通知监听器 */ public static void reg(AdviceListener listener) { @@ -40,7 +39,7 @@ public class AdviceWeaver { /** * 注销监听器 * - * @param adviceId 通知ID + * @param listener 通知监听器 */ public static void unReg(AdviceListener listener) { if (null != listener) {