Mercurial > projects > dwt-addons
diff dwtx/jface/internal/text/link/contentassist/AdditionalInfoController2.d @ 134:51e6e63f930e
Regex fix for casts
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 01:46:20 +0200 |
parents | 7d818bd32d63 |
children | 65801ad2b265 |
line wrap: on
line diff
--- a/dwtx/jface/internal/text/link/contentassist/AdditionalInfoController2.d Sun Aug 24 01:29:22 2008 +0200 +++ b/dwtx/jface/internal/text/link/contentassist/AdditionalInfoController2.d Sun Aug 24 01:46:20 2008 +0200 @@ -117,7 +117,7 @@ super.install(control); Assert.isTrue(control instanceof Table); - fProposalTable= (Table) control; + fProposalTable= cast(Table) control; fProposalTable.addSelectionListener(fSelectionListener); synchronized (fThreadAccess) { if (fThread !is null) @@ -235,12 +235,12 @@ Object d= item.getData(); if (d instanceof ICompletionProposal) { - ICompletionProposal p= (ICompletionProposal) d; + ICompletionProposal p= cast(ICompletionProposal) d; information= p.getAdditionalProposalInfo(); } if (d instanceof ICompletionProposalExtension3) - setCustomInformationControlCreator(((ICompletionProposalExtension3) d).getInformationControlCreator()); + setCustomInformationControlCreator((cast(ICompletionProposalExtension3) d).getInformationControlCreator()); else setCustomInformationControlCreator(null);