Mercurial > projects > dwt-addons
diff dwtx/text/edits/CopyTargetEdit.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 | f70d9508c95c |
line wrap: on
line diff
--- a/dwtx/text/edits/CopyTargetEdit.d Sun Aug 24 01:52:31 2008 +0200 +++ b/dwtx/text/edits/CopyTargetEdit.d Sun Aug 24 02:20:40 2008 +0200 @@ -108,7 +108,7 @@ * @exception MalformedTreeException is thrown if the target edit * is a direct or indirect child of the source edit */ - public void setSourceEdit(CopySourceEdit edit) throws MalformedTreeException { + public void setSourceEdit(CopySourceEdit edit) { Assert.isNotNull(edit); if (fSource !is edit) { fSource= edit; @@ -161,7 +161,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("CopyTargetEdit.no_source")); //$NON-NLS-1$ if (fSource.getTargetEdit() !is this) @@ -171,7 +171,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();