Mercurial > projects > dwt-addons
diff dwtx/jface/internal/text/html/BrowserInformationControl.d @ 138:b6bad70d540a
Regex instanceof changes
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 02:26:23 +0200 |
parents | 65801ad2b265 |
children | 16a71f577815 |
line wrap: on
line diff
--- a/dwtx/jface/internal/text/html/BrowserInformationControl.d Sun Aug 24 02:22:48 2008 +0200 +++ b/dwtx/jface/internal/text/html/BrowserInformationControl.d Sun Aug 24 02:26:23 2008 +0200 @@ -274,7 +274,7 @@ public void setInput(Object input) { Assert.isLegal(input is null || input instanceof String || input instanceof BrowserInformationControlInput); - if (input instanceof String) { + if ( cast(String)input ) { setInformation(cast(String)input); return; }