Mercurial > projects > dwt-addons
diff dwtx/jface/text/DefaultDocumentAdapter.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 | b6bad70d540a |
line wrap: on
line diff
--- a/dwtx/jface/text/DefaultDocumentAdapter.d Sun Aug 24 01:52:31 2008 +0200 +++ b/dwtx/jface/text/DefaultDocumentAdapter.d Sun Aug 24 02:20:40 2008 +0200 @@ -290,7 +290,7 @@ * @throws BadLocationException if the line number is invalid for the adapted document * @since 3.0 */ - private String doGetLine(IDocument document, int line) throws BadLocationException { + private String doGetLine(IDocument document, int line) { IRegion r= document.getLineInformation(line); return document.get(r.getOffset(), r.getLength()); }