Mercurial > projects > dwt-addons
diff dwtx/text/edits/MoveTargetEdit.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 | 5cf141e43417 |
line wrap: on
line diff
--- a/dwtx/text/edits/MoveTargetEdit.d Sun Aug 24 01:52:31 2008 +0200 +++ b/dwtx/text/edits/MoveTargetEdit.d Sun Aug 24 02:20:40 2008 +0200 @@ -163,7 +163,7 @@ /* * @see TextEdit#performConsistencyCheck */ - void performConsistencyCheck(TextEditProcessor processor, IDocument document) throws MalformedTreeException { + void performConsistencyCheck(TextEditProcessor processor, IDocument document) { if (fSource is null) throw new MalformedTreeException(getParent(), this, TextEditMessages.getString("MoveTargetEdit.no_source")); //$NON-NLS-1$ if (fSource.getTargetEdit() !is this) @@ -175,7 +175,7 @@ /* * @see TextEdit#performDocumentUpdating */ - int performDocumentUpdating(IDocument document) throws BadLocationException { + int performDocumentUpdating(IDocument document) { String source= fSource.getContent(); document.replace(getOffset(), getLength(), source); fDelta= source.length() - getLength();