# HG changeset patch # User Frank Benoit # Date 1218119983 -7200 # Node ID ffa785dc65e5e79f5c06fb7dc4a01146ccbce8f4 # Parent 8ab6fb3876669f4a07b385eb4ab6d8d42e9ec77e Removed unneeded code diff -r 8ab6fb387666 -r ffa785dc65e5 dwtx/dwtxhelper/JHashMap.d --- a/dwtx/dwtxhelper/JHashMap.d Thu Aug 07 16:03:56 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -module dwtx.dwtxhelper.JHashMap; - -import tango.util.collection.HashMap; -import tango.core.Traits; - -class JHashMapT(K,V) : HashMap!(K,V) { - this(){ - super(); - } - - static if( is(V==class) || is(V==interface) || isDynamicArrayType!(V) ){ - public V find( K key ){ - if( containsKey(key) ){ - return get(key); - } - return null; - } - } -} - -alias JHashMapT!(Object,Object) JHashMap;