Mercurial > projects > dwt-addons
diff dwtx/jface/internal/text/html/HTML2TextReader.d @ 136:6dcb0baaa031
Regex removal of throws decls, some instanceof
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 02:20:40 +0200 |
parents | 51e6e63f930e |
children | 000f9136b8f7 |
line wrap: on
line diff
--- a/dwtx/jface/internal/text/html/HTML2TextReader.d Sun Aug 24 01:52:31 2008 +0200 +++ b/dwtx/jface/internal/text/html/HTML2TextReader.d Sun Aug 24 02:20:40 2008 +0200 @@ -101,7 +101,7 @@ fTextPresentation= presentation; } - public int read() throws IOException { + public int read() { int c= super.read(); if (c !is -1) ++ fCounter; @@ -137,7 +137,7 @@ /* * @see dwtx.jdt.internal.ui.text.SubstitutionTextReader#computeSubstitution(int) */ - protected String computeSubstitution(int c) throws IOException { + protected String computeSubstitution(int c) { if (c is '<') return processHTMLTag(); @@ -243,7 +243,7 @@ /* * A '<' has been read. Process a html tag */ - private String processHTMLTag() throws IOException { + private String processHTMLTag() { StringBuffer buf= new StringBuffer(); int ch; @@ -297,7 +297,7 @@ } - private void unread(int ch) throws IOException { + private void unread(int ch) { (cast(PushbackReader) getReader()).unread(ch); } @@ -325,7 +325,7 @@ /* * A '&' has been read. Process a entity */ - private String processEntity() throws IOException { + private String processEntity() { StringBuffer buf= new StringBuffer(); int ch= nextChar(); while (Character.isLetterOrDigit(cast(wchar)ch) || ch is '#') {