comparison dwtx/jface/text/hyperlink/AbstractHyperlinkDetector.d @ 140:26688fec6d23

Following dsss compile errors
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 03:23:46 +0200
parents c4fb132a086c
children 25f1f92fa3df
comparison
equal deleted inserted replaced
139:93a6ec48fd28 140:26688fec6d23
55 * 55 *
56 * @param context the context for this hyperlink detector 56 * @param context the context for this hyperlink detector
57 * @throws IllegalArgumentException if the context is <code>null</code> 57 * @throws IllegalArgumentException if the context is <code>null</code>
58 * @throws IllegalStateException if this method is called more than once 58 * @throws IllegalStateException if this method is called more than once
59 */ 59 */
60 public final void setContext(IAdaptable context) throws IllegalStateException, IllegalArgumentException { 60 public final void setContext(IAdaptable context) {
61 Assert.isLegal(context !is null); 61 Assert.isLegal(context !is null);
62 if (fContext !is null) 62 if (fContext !is null)
63 throw new IllegalStateException(); 63 throw new IllegalStateException();
64 fContext= context; 64 fContext= context;
65 } 65 }