From 21ff810b471af9e1a47d85823354bf4e4c353d53 Mon Sep 17 00:00:00 2001 From: Henri Yandell Date: Mon, 25 Nov 2002 17:35:57 +0000 Subject: [PATCH] Bugfix, classic this.foo = this.foo error. Noticed by Andy Freeman. git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137166 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/commons/lang/Notifier.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/commons/lang/Notifier.java b/src/java/org/apache/commons/lang/Notifier.java index 407d48652..7ef8792d8 100644 --- a/src/java/org/apache/commons/lang/Notifier.java +++ b/src/java/org/apache/commons/lang/Notifier.java @@ -83,7 +83,7 @@ public Notifier(Class listener) { throw new IllegalArgumentException("Illegal to have a null listener Class. "); } - this.clss = clss; + this.clss = listener; // now we check methods, if only one of them, then // let's set it Method[] meths = clss.getDeclaredMethods();