diff dwtx/jface/text/link/LinkedPositionAnnotations.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 75302ef3f92f
line wrap: on
line diff
--- a/dwtx/jface/text/link/LinkedPositionAnnotations.d	Sun Aug 24 01:52:31 2008 +0200
+++ b/dwtx/jface/text/link/LinkedPositionAnnotations.d	Sun Aug 24 02:20:40 2008 +0200
@@ -73,7 +73,7 @@
      * @param position the new focus position, or <code>null</code> if no focus is set.
      * @throws BadLocationException if <code>position</code> is invalid
      */
-    private void setFocusPosition(Position position) throws BadLocationException {
+    private void setFocusPosition(Position position)  {
         if (fMarkFocus && getPosition(fFocusAnnotation) !is position) {
             removeAnnotation(fFocusAnnotation, false);
             if (position !is null) {
@@ -92,7 +92,7 @@
      * @param position the new exit position, or <code>null</code> if no focus is set.
      * @throws BadLocationException in case <code>position</code> is invalid
      */
-    private void setExitPosition(Position position) throws BadLocationException {
+    private void setExitPosition(Position position)  {
         if (fMarkExitTarget && getPosition(fExitAnnotation) !is position) {
             removeAnnotation(fExitAnnotation, false);
             if (position !is null) {
@@ -110,7 +110,7 @@
      * @param positions the new slave positions, or <code>null</code> if no slave positions are to be set
      * @throws BadLocationException in case any of the given positions is invalid
      */
-    private void setGroupPositions(List positions) throws BadLocationException {
+    private void setGroupPositions(List positions)  {
         if (!fMarkSlaves)
             return;
 
@@ -144,7 +144,7 @@
      * @param positions the new target positions, or <code>null</code> if no target positions are to be set
      * @throws BadLocationException in case any of the given positions is invalid
      */
-    private void setTargetPositions(List positions) throws BadLocationException {
+    private void setTargetPositions(List positions)  {
         if (!fMarkTargets)
             return;