diff dwtx/jface/text/rules/FastPartitioner.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/rules/FastPartitioner.d	Sun Aug 24 01:52:31 2008 +0200
+++ b/dwtx/jface/text/rules/FastPartitioner.d	Sun Aug 24 02:20:40 2008 +0200
@@ -761,7 +761,7 @@
     /*
      * @see dwtx.jface.text.IDocumentPartitionerExtension3#startRewriteSession(dwtx.jface.text.DocumentRewriteSession)
      */
-    public void startRewriteSession(DocumentRewriteSession session) throws IllegalStateException {
+    public void startRewriteSession(DocumentRewriteSession session)  {
         if (fActiveRewriteSession !is null)
             throw new IllegalStateException();
         fActiveRewriteSession= session;
@@ -821,7 +821,7 @@
      * @throws BadPositionCategoryException if getting the positions from the
      *         document fails
      */
-    protected final Position[] getPositions() throws BadPositionCategoryException {
+    protected final Position[] getPositions()  {
         if (fCachedPositions is null) {
             fCachedPositions= fDocument.getPositions(fPositionCategory);
         } else if cast(CHECK_CACHE_CONSISTENCY) {