Mercurial > projects > dwt2
view base/src/java/util/EventObject.d @ 75:0b015f5925d8
Fix HashMap.remove, thank to yidabu for the testcase.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 11 Apr 2009 11:32:49 +0200 |
parents | 1bf55a6eb092 |
children |
line wrap: on
line source
module java.util.EventObject; import java.lang.all; class EventObject { protected Object source; public this(Object source) { if (source is null) throw new IllegalArgumentException( "null arg" ); this.source = source; } public Object getSource() { return source; } public override String toString() { return this.classinfo.name ~ "[source=" ~ source.toString() ~ "]"; } }