changeset 192:c3583c6ec027

Added missing default cases for switch statements
author Frank Benoit <benoit@tionex.de>
date Mon, 03 Nov 2008 22:52:26 +0100
parents 1ef729510ed6
children a785420fe9ca
files dwtx/core/internal/jobs/JobManager.d dwtx/draw2d/FlowLayout.d dwtx/draw2d/GridLayout.d dwtx/draw2d/Label.d dwtx/draw2d/ScaledGraphics.d dwtx/draw2d/ToolbarLayout.d dwtx/draw2d/graph/SubgraphBoundary.d dwtx/jface/action/Action.d dwtx/jface/action/ActionContributionItem.d dwtx/jface/dialogs/DialogMessageArea.d dwtx/jface/dialogs/MessageDialog.d dwtx/jface/dialogs/MessageDialogWithToggle.d dwtx/jface/dialogs/TitleAreaDialog.d dwtx/jface/fieldassist/ControlDecoration.d dwtx/jface/fieldassist/DecoratedField.d dwtx/jface/internal/text/TableOwnerDrawSupport.d dwtx/jface/internal/text/link/contentassist/ContentAssistant2.d dwtx/jface/internal/text/revisions/HunkComputer.d dwtx/jface/internal/text/source/DiffPainter.d dwtx/jface/preference/PreferenceDialog.d dwtx/jface/text/AbstractHoverInformationControlManager.d dwtx/jface/text/AbstractInformationControlManager.d dwtx/jface/text/DefaultUndoManager.d dwtx/jface/text/TextViewer.d dwtx/jface/text/TextViewerUndoManager.d dwtx/jface/text/contentassist/CompletionProposalPopup.d dwtx/jface/text/contentassist/ContentAssistant.d dwtx/jface/text/contentassist/PopupCloser.d dwtx/jface/text/hyperlink/MultipleHyperlinkPresenter.d dwtx/jface/text/projection/ProjectionMapping.d dwtx/jface/text/source/ImageUtilities.d dwtx/jface/text/source/LineNumberRulerColumn.d dwtx/jface/text/source/SourceViewer.d dwtx/jface/text/source/projection/ProjectionViewer.d dwtx/jface/util/Geometry.d dwtx/jface/util/OpenStrategy.d dwtx/jface/viewers/DecorationOverlayIcon.d dwtx/jface/viewers/OwnerDrawLabelProvider.d dwtx/jface/viewers/SWTFocusCellManager.d dwtx/jface/viewers/deferred/BackgroundContentProvider.d dwtx/jface/window/ToolTip.d dwtx/jface/wizard/WizardDialog.d dwtx/novocode/SizeBorder.d dwtx/novocode/ishell/internal/TitleBar.d dwtx/text/undo/DocumentUndoManager.d dwtx/ui/forms/HyperlinkGroup.d dwtx/ui/forms/MasterDetailsBlock.d dwtx/ui/forms/widgets/AbstractHyperlink.d dwtx/ui/forms/widgets/ColumnLayout.d dwtx/ui/forms/widgets/ExpandableComposite.d dwtx/ui/forms/widgets/FormText.d dwtx/ui/forms/widgets/ScrolledPageBook.d dwtx/ui/forms/widgets/ToggleHyperlink.d
diffstat 53 files changed, 88 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dwtx/core/internal/jobs/JobManager.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/core/internal/jobs/JobManager.d	Mon Nov 03 22:52:26 2008 +0100
@@ -240,6 +240,7 @@
                 return "ABOUT_TO_RUN"; //$NON-NLS-1$
             case InternalJob.ABOUT_TO_SCHEDULE :
                 return "ABOUT_TO_SCHEDULE";//$NON-NLS-1$
+            default:
         }
         return "UNKNOWN"; //$NON-NLS-1$
     }
@@ -1191,6 +1192,7 @@
                 case Job.WAITING :
                     //put the job to sleep
                     break;
+                default:
             }
             job.setStartTime(InternalJob.T_INFINITE);
             changeState(job, Job.SLEEPING);
--- a/dwtx/draw2d/FlowLayout.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/draw2d/FlowLayout.d	Mon Nov 03 22:52:26 2008 +0100
@@ -343,6 +343,7 @@
             break;
         case ALIGN_RIGHTBOTTOM:
             break;
+        default:
     }
 
     for (int j = 0; j < data.rowCount; j++) {
@@ -359,6 +360,7 @@
                 break;
                 case ALIGN_RIGHTBOTTOM:
                     break;
+                default:
             }
             data.bounds[j].y += minorAdjustment;
         }
--- a/dwtx/draw2d/GridLayout.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/draw2d/GridLayout.d	Mon Nov 03 22:52:26 2008 +0100
@@ -716,6 +716,7 @@
                         case DWT.FILL:
                             childWidth = cellWidth - data.horizontalIndent;
                             break;
+                        default:
                         }
                         cellHeight += verticalSpacing * (vSpan - 1);
                         int childY = gridY; // + data.verticalIndent;
@@ -738,6 +739,7 @@
                             childHeight = cellHeight; // -
                             // data.verticalIndent;
                             break;
+                        default:
                         }
                         IFigure child = grid[i][j];
                         if (child !is null) {
--- a/dwtx/draw2d/Label.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/draw2d/Label.d	Mon Nov 03 22:52:26 2008 +0100
@@ -139,6 +139,7 @@
             alignOnWidth(textLocation, getSubStringTextSize(), textAlignment);
             alignOnWidth(iconLocation, getIconSize(), iconAlignment);
             break;
+        default:
     }
 }
 
@@ -205,6 +206,7 @@
         case SOUTH:
             offset.width = 0;
             break;
+        default:
     }
 
     textLocation.translate(offset);
@@ -233,6 +235,7 @@
     case SOUTH:
         textLocation.y = getIconSize().height + gap + insets.top;
         iconLocation.y = insets.top;
+    default:
     }
 }
 
--- a/dwtx/draw2d/ScaledGraphics.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/draw2d/ScaledGraphics.d	Mon Nov 03 22:52:26 2008 +0100
@@ -215,6 +215,7 @@
             case DWT.PATH_CLOSE:
                 scaledPath.close();
                 break;
+            default:
         }
     }
     return scaledPath;
--- a/dwtx/draw2d/ToolbarLayout.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/draw2d/ToolbarLayout.d	Mon Nov 03 22:52:26 2008 +0100
@@ -358,6 +358,7 @@
             break;
         case ALIGN_BOTTOMRIGHT:
             break;
+        default:
         }
         newBounds.x += adjust;
         newBounds.height -= amntShrinkCurrentHeight;
--- a/dwtx/draw2d/graph/SubgraphBoundary.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/draw2d/graph/SubgraphBoundary.d	Mon Nov 03 22:52:26 2008 +0100
@@ -94,6 +94,7 @@
             padding.left = padding.right = 0;
             data = stringcast(Format("bottom({})", s )); //$NON-NLS-1$ //$NON-NLS-2$
             break;
+        default:
     }
 }
 
--- a/dwtx/jface/action/Action.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/action/Action.d	Mon Nov 03 22:52:26 2008 +0100
@@ -348,6 +348,7 @@
         case AS_RADIO_BUTTON:
             value = VAL_RADIO_BTN_OFF;
             break;
+        default:
         }
     }
 
--- a/dwtx/jface/action/ActionContributionItem.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/action/ActionContributionItem.d	Mon Nov 03 22:52:26 2008 +0100
@@ -398,6 +398,7 @@
                                     .getSelection());
                         }
                         break;
+                    default:
                     }
                 }
             };
@@ -425,6 +426,7 @@
                                     .getSelection());
                         }
                         break;
+                    default:
                     }
                 }
             };
@@ -466,6 +468,7 @@
                                     .getSelection());
                         }
                         break;
+                    default:
                     }
                 }
             };
@@ -1224,6 +1227,7 @@
                     case DWT.Hide:
                         handleHideProxy(cast(Menu) event.widget);
                         break;
+                    default:
                     }
                 }
             };
--- a/dwtx/jface/dialogs/DialogMessageArea.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/dialogs/DialogMessageArea.d	Mon Nov 03 22:52:26 2008 +0100
@@ -170,6 +170,7 @@
             newImage = JFaceResources.getImage(Dialog.DLG_IMG_MESSAGE_ERROR);
 
             break;
+        default:
         }
         messageComposite.setVisible(true);
         titleLabel.setVisible(false);
--- a/dwtx/jface/dialogs/MessageDialog.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/dialogs/MessageDialog.d	Mon Nov 03 22:52:26 2008 +0100
@@ -160,6 +160,7 @@
             this.image = getWarningImage();
             break;
         }
+        default:
         }
         this.buttonLabels = dialogButtonLabels;
         this.defaultButtonIndex = defaultIndex;
--- a/dwtx/jface/dialogs/MessageDialogWithToggle.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/dialogs/MessageDialogWithToggle.d	Mon Nov 03 22:52:26 2008 +0100
@@ -417,6 +417,7 @@
             case IDialogConstants.NO_TO_ALL_ID:
                 prefStore.setValue(prefKey, NEVER);
                 break;
+            default:
             }
         }
     }
--- a/dwtx/jface/dialogs/TitleAreaDialog.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/dialogs/TitleAreaDialog.d	Mon Nov 03 22:52:26 2008 +0100
@@ -513,6 +513,7 @@
             case IMessageProvider.ERROR:
                 newImage = JFaceResources.getImage(DLG_IMG_MESSAGE_ERROR);
                 break;
+            default:
             }
         }
         showMessage(newMessage, newImage);
--- a/dwtx/jface/fieldassist/ControlDecoration.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/fieldassist/ControlDecoration.d	Mon Nov 03 22:52:26 2008 +0100
@@ -706,6 +706,7 @@
                     if (!menuDetectListeners.isEmpty())
                         notifyMenuDetectListeners(event);
                     break;
+                default:
                 }
             }
         };
@@ -801,6 +802,7 @@
                     }
                 }
                 break;
+            default:
             }
         }
     }
--- a/dwtx/jface/fieldassist/DecoratedField.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/fieldassist/DecoratedField.d	Mon Nov 03 22:52:26 2008 +0100
@@ -665,6 +665,7 @@
             data.right = new FormAttachment(100, 0);
             data.bottom = new FormAttachment(100, 0);
             break;
+        default:
         }
         data.width = widthOf(image);
         data.height = DWT.DEFAULT;
--- a/dwtx/jface/internal/text/TableOwnerDrawSupport.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/internal/text/TableOwnerDrawSupport.d	Mon Nov 03 22:52:26 2008 +0100
@@ -97,6 +97,7 @@
             case DWT.Dispose:
                 widgetDisposed();
                 break;
+            default:
             }
     }
 
--- a/dwtx/jface/internal/text/link/contentassist/ContentAssistant2.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/internal/text/link/contentassist/ContentAssistant2.d	Mon Nov 03 22:52:26 2008 +0100
@@ -429,6 +429,7 @@
                     }
                     fContextType= LAYOUT_CONTEXT_SELECTOR;
                     break;
+                default:
             }
         }
 
@@ -451,6 +452,7 @@
                 case LAYOUT_CONTEXT_INFO_POPUP:
                     layoutContextInfoPopup(offset);
                     break;
+                default:
             }
         }
 
@@ -491,6 +493,7 @@
                         shell.setLocation(getStackedLocation(shell, parent));
                         break;
                     }
+                    default:
                 }
             }
         }
@@ -518,6 +521,7 @@
                         shell.setLocation(getStackedLocation(shell, parent));
                         break;
                     }
+                    default:
                 }
             }
         }
@@ -541,6 +545,7 @@
                     }
                     break;
                 }
+                default:
             }
         }
 
@@ -624,6 +629,7 @@
                     break;
                 case LAYOUT_CONTEXT_INFO_POPUP:
                     break;
+                default:
             }
         }
     }
@@ -1140,6 +1146,7 @@
                     IWidgetTokenOwnerExtension extension= cast(IWidgetTokenOwnerExtension) fViewer;
                     return extension.requestWidgetToken(this, WIDGET_PRIORITY);
                 }
+            default:
         }
         return true;
     }
--- a/dwtx/jface/internal/text/revisions/HunkComputer.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/internal/text/revisions/HunkComputer.d	Mon Nov 03 22:52:26 2008 +0100
@@ -70,6 +70,7 @@
                         added= 0;
                         changed= 0;
                     }
+                default:
             }
         }
 
--- a/dwtx/jface/internal/text/source/DiffPainter.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/internal/text/source/DiffPainter.d	Mon Nov 03 22:52:26 2008 +0100
@@ -304,6 +304,7 @@
             case ILineDiffInfo.ADDED:
                 ret= getShadedColor(fAddedColor);
                 break;
+            default:
         }
         return ret is null ? getBackground() : ret;
     }
@@ -485,6 +486,7 @@
                 return "~"; //$NON-NLS-1$
             case ILineDiffInfo.ADDED:
                 return "+"; //$NON-NLS-1$
+            default:
         }
         return " "; //$NON-NLS-1$
     }
--- a/dwtx/jface/preference/PreferenceDialog.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/preference/PreferenceDialog.d	Mon Nov 03 22:52:26 2008 +0100
@@ -255,6 +255,7 @@
             helpPressed();
             return;
         }
+        default:
         }
     }
 
--- a/dwtx/jface/text/AbstractHoverInformationControlManager.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/text/AbstractHoverInformationControlManager.d	Mon Nov 03 22:52:26 2008 +0100
@@ -490,6 +490,7 @@
                 case DWT.MouseExit:
                     handleMouseMove(event);
                     break;
+                default:
             }
         }
 
--- a/dwtx/jface/text/AbstractInformationControlManager.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/text/AbstractInformationControlManager.d	Mon Nov 03 22:52:26 2008 +0100
@@ -1022,6 +1022,7 @@
             case DWT.LEFT:
                 xShift= -controlSize.x - fMarginX;
                 break;
+            default:
         }
 
         bool isRTL= fSubjectControl !is null && (fSubjectControl.getStyle() & DWT.RIGHT_TO_LEFT) !is 0;
--- a/dwtx/jface/text/DefaultUndoManager.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/text/DefaultUndoManager.d	Mon Nov 03 22:52:26 2008 +0100
@@ -785,6 +785,7 @@
                 case DWT.ARROW_RIGHT:
                     commit();
                     break;
+                default:
             }
         }
     }
@@ -923,6 +924,7 @@
                     });
                 }
                 break;
+            default:
             }
         }
 
--- a/dwtx/jface/text/TextViewer.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/text/TextViewer.d	Mon Nov 03 22:52:26 2008 +0100
@@ -3855,6 +3855,7 @@
                 return fUndoManager !is null && fUndoManager.redoable();
             case PRINT:
                 return isPrintable();
+            default:
         }
 
         return false;
@@ -3934,6 +3935,7 @@
             case PRINT:
                 print();
                 break;
+            default:
         }
     }
 
--- a/dwtx/jface/text/TextViewerUndoManager.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/text/TextViewerUndoManager.d	Mon Nov 03 22:52:26 2008 +0100
@@ -251,6 +251,7 @@
                         fDocumentUndoManager.commit();
                     }
                     break;
+                default:
             }
         }
     }
--- a/dwtx/jface/text/contentassist/CompletionProposalPopup.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/text/contentassist/CompletionProposalPopup.d	Mon Nov 03 22:52:26 2008 +0100
@@ -187,6 +187,7 @@
                 if (selectionIndex < 0)
                     selectionIndex= itemCount - 1;
                 break;
+            default:
             }
             selectProposal(selectionIndex, false);
             return null;
--- a/dwtx/jface/text/contentassist/ContentAssistant.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/text/contentassist/ContentAssistant.d	Mon Nov 03 22:52:26 2008 +0100
@@ -509,6 +509,7 @@
                     }
                     fContextType= LAYOUT_CONTEXT_SELECTOR;
                     break;
+                default:
             }
         }
 
@@ -537,6 +538,7 @@
                 case LAYOUT_CONTEXT_INFO_POPUP:
                     layoutContextInfoPopup(offset);
                     break;
+                default:
             }
         }
 
@@ -579,6 +581,7 @@
                         shell.setLocation(getStackedLocation(shell, parent));
                         break;
                     }
+                    default:
                 }
             }
         }
@@ -606,6 +609,7 @@
                         shell.setLocation(getStackedLocation(shell, parent));
                         break;
                     }
+                    default:
                 }
             }
         }
@@ -629,6 +633,7 @@
                     }
                     break;
                 }
+                default:
             }
         }
 
@@ -798,6 +803,7 @@
                     break;
                 case LAYOUT_CONTEXT_INFO_POPUP:
                     break;
+                default:
             }
         }
 
@@ -1568,6 +1574,7 @@
                     IWidgetTokenOwner owner= cast(IWidgetTokenOwner) fViewer;
                     return owner.requestWidgetToken(this);
                 }
+            default:
         }
         return true;
     }
--- a/dwtx/jface/text/contentassist/PopupCloser.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/text/contentassist/PopupCloser.d	Mon Nov 03 22:52:26 2008 +0100
@@ -301,6 +301,7 @@
                     }
                 }
                 break;
+            default:
         }
     }
 }
--- a/dwtx/jface/text/hyperlink/MultipleHyperlinkPresenter.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/text/hyperlink/MultipleHyperlinkPresenter.d	Mon Nov 03 22:52:26 2008 +0100
@@ -425,6 +425,7 @@
                     case DWT.MouseMove:
                         handleMouseMove(event);
                         break;
+                    default:
                 }
             }
 
--- a/dwtx/jface/text/projection/ProjectionMapping.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/text/projection/ProjectionMapping.d	Mon Nov 03 22:52:26 2008 +0100
@@ -202,6 +202,7 @@
                 case RIGHT:
                     if (index < fragments.length)
                         return index;
+                default:
             }
 
             return -1;
--- a/dwtx/jface/text/source/ImageUtilities.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/text/source/ImageUtilities.d	Mon Nov 03 22:52:26 2008 +0100
@@ -121,6 +121,7 @@
             case DWT.RIGHT:
                 x= r.width - bounds.width;
                 break;
+            default:
             }
 
             int y= 0;
@@ -138,6 +139,7 @@
                 y= r.height - (fontMetrics.getHeight() + bounds.height)/2;
                 break;
             }
+            default:
             }
 
             gc.drawImage(image, r.x+x, r.y+y);
--- a/dwtx/jface/text/source/LineNumberRulerColumn.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/text/source/LineNumberRulerColumn.d	Mon Nov 03 22:52:26 2008 +0100
@@ -406,6 +406,7 @@
                         }
                     };
                     break;
+                default:
             }
 
             if (timer !is null) {
--- a/dwtx/jface/text/source/SourceViewer.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/text/source/SourceViewer.d	Mon Nov 03 22:52:26 2008 +0100
@@ -1038,6 +1038,7 @@
                     fContentAssistantInstalled= false;
                 }
             }
+            default:
         }
     }
 
--- a/dwtx/jface/text/source/projection/ProjectionViewer.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/text/source/projection/ProjectionViewer.d	Mon Nov 03 22:52:26 2008 +0100
@@ -255,6 +255,7 @@
                     }
                     break;
                 }
+                default:
             }
             return 0;
         }
@@ -1072,6 +1073,7 @@
                     if (fireRedraw)
                         invalidateTextPresentation(command.fOffset, command.fLength);
                     break;
+                default:
             }
         }
 
@@ -1467,6 +1469,7 @@
                     }
                     return;
                 }
+            default:
         }
 
         if (!isProjectionMode()) {
@@ -1570,6 +1573,7 @@
                 return isProjectionMode();
             case TOGGLE:
                 return isProjectionMode() || !isSegmented();
+            default:
         }
 
         return super.canDoOperation(operation);
--- a/dwtx/jface/util/Geometry.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/util/Geometry.d	Mon Nov 03 22:52:26 2008 +0100
@@ -135,6 +135,7 @@
             return new Point(-distance, 0);
         case DWT.RIGHT:
             return new Point(distance, 0);
+        default:
         }
 
         return new Point(0, 0);
@@ -406,6 +407,7 @@
             return testPoint.x - rectangle.x;
         case DWT.RIGHT:
             return rectangle.x + rectangle.width - testPoint.x;
+        default:
         }
 
         return 0;
@@ -443,6 +445,7 @@
         case DWT.BOTTOM:
             bounds.y = toExtrude.y + toExtrude.height - bounds.height;
             break;
+        default:
         }
 
         normalize(bounds);
@@ -468,6 +471,7 @@
             return DWT.RIGHT;
         case DWT.RIGHT:
             return DWT.LEFT;
+        default:
         }
 
         return swtDirectionConstant;
--- a/dwtx/jface/util/OpenStrategy.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/util/OpenStrategy.d	Mon Nov 03 22:52:26 2008 +0100
@@ -447,6 +447,7 @@
                         }
                     });
                     break;
+                default:
                 }
             }
 
--- a/dwtx/jface/viewers/DecorationOverlayIcon.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/viewers/DecorationOverlayIcon.d	Mon Nov 03 22:52:26 2008 +0100
@@ -138,6 +138,7 @@
                 drawImage(overlayData, size.x - overlayData.width, size.y
                         - overlayData.height);
                 break;
+            default:
             }
         }
     }
--- a/dwtx/jface/viewers/OwnerDrawLabelProvider.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/viewers/OwnerDrawLabelProvider.d	Mon Nov 03 22:52:26 2008 +0100
@@ -71,6 +71,7 @@
                     case DWT.EraseItem:
                         ownerDrawProvider.erase(event, element);
                         break;
+                    default:
                     }
                 }
             }
--- a/dwtx/jface/viewers/SWTFocusCellManager.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/viewers/SWTFocusCellManager.d	Mon Nov 03 22:52:26 2008 +0100
@@ -153,6 +153,7 @@
                 case DWT.FocusIn:
                     handleFocusIn(event);
                     break;
+                default:
                 }
             }
         };
--- a/dwtx/jface/viewers/deferred/BackgroundContentProvider.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/viewers/deferred/BackgroundContentProvider.d	Mon Nov 03 22:52:26 2008 +0100
@@ -309,6 +309,7 @@
 
                         break;
                     }
+                    default:
                 }
 
                 continue;
--- a/dwtx/jface/window/ToolTip.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/window/ToolTip.d	Mon Nov 03 22:52:26 2008 +0100
@@ -688,6 +688,7 @@
 
                 toolTipHide(CURRENT_TOOLTIP, event);
                 break;
+            default:
             }
         }
     }
@@ -720,6 +721,7 @@
                     }
 
                     break;
+                default:
                 }
             }
         }
--- a/dwtx/jface/wizard/WizardDialog.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/jface/wizard/WizardDialog.d	Mon Nov 03 22:52:26 2008 +0100
@@ -390,6 +390,7 @@
         }
             // The Cancel button has a listener which calls cancelPressed
             // directly
+        default:
         }
     }
 
--- a/dwtx/novocode/SizeBorder.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/novocode/SizeBorder.d	Mon Nov 03 22:52:26 2008 +0100
@@ -280,6 +280,7 @@
             case AREA_W:  case AREA_E:  c = cursorWE;   break;
             case AREA_NW: case AREA_SE: c = cursorNWSE; break;
             case AREA_NE: case AREA_SW: c = cursorNESW; break;
+            default:
         }
         if(cursor is c) return;
         cursor = c;
--- a/dwtx/novocode/ishell/internal/TitleBar.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/novocode/ishell/internal/TitleBar.d	Mon Nov 03 22:52:26 2008 +0100
@@ -562,6 +562,7 @@
                 gc.drawLine(1, size.y-2, size.x-4, size.y-2);
                 gc.drawLine(1, size.y-3, size.x-4, size.y-3);
                 break;
+            default:
         }
     }
 }
--- a/dwtx/text/undo/DocumentUndoManager.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/text/undo/DocumentUndoManager.d	Mon Nov 03 22:52:26 2008 +0100
@@ -694,6 +694,7 @@
                     fOperation= null;
                 }
                 break;
+            default:
             }
         }
 
--- a/dwtx/ui/forms/HyperlinkGroup.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/ui/forms/HyperlinkGroup.d	Mon Nov 03 22:52:26 2008 +0100
@@ -64,6 +64,7 @@
                 case DWT.Dispose :
                     unhook(cast(Hyperlink) e.widget);
                     break;
+                default:
             }
         }
         private void onMouseEnter(Event e) {
--- a/dwtx/ui/forms/MasterDetailsBlock.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/ui/forms/MasterDetailsBlock.d	Mon Nov 03 22:52:26 2008 +0100
@@ -97,6 +97,7 @@
                 case DWT.Resize:
                     hookSashListeners();
                 break;
+                default:
                 }
             });
             super(parent, style);
--- a/dwtx/ui/forms/widgets/AbstractHyperlink.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/ui/forms/widgets/AbstractHyperlink.d	Mon Nov 03 22:52:26 2008 +0100
@@ -93,6 +93,7 @@
                 case DWT.TRAVERSE_RETURN:
                     e.doit = false;
                     return;
+                default:
                 }
                 e.doit = true;
             }
@@ -126,6 +127,7 @@
                 case DWT.MouseMove:
                     handleMouseMove(e);
                     break;
+                default:
                 }
             }
         };
--- a/dwtx/ui/forms/widgets/ColumnLayout.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/ui/forms/widgets/ColumnLayout.d	Mon Nov 03 22:52:26 2008 +0100
@@ -254,6 +254,7 @@
                 case ColumnLayoutData.CENTER :
                     child.setBounds(x + fillWidth / 2 - childWidth / 2, topMargin+colHeight, childWidth, csize.y);
                     break;
+                default:
             }
 
             colHeight += csize.y;
--- a/dwtx/ui/forms/widgets/ExpandableComposite.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/ui/forms/widgets/ExpandableComposite.d	Mon Nov 03 22:52:26 2008 +0100
@@ -706,6 +706,7 @@
                             paintTitleFocus(e.gc);
                         }
                         break;
+                    default:
                     }
                 }
     /* (non-Javadoc)
--- a/dwtx/ui/forms/widgets/FormText.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/ui/forms/widgets/FormText.d	Mon Nov 03 22:52:26 2008 +0100
@@ -397,6 +397,7 @@
                 case DWT.TRAVERSE_ARROW_PREVIOUS:
                     e.doit = false;
                     return;
+                default:
                 }
                 if (!model.hasFocusSegments()) {
                     e.doit = true;
@@ -719,6 +720,7 @@
                     case DWT.TRAVERSE_ARROW_PREVIOUS:
                         e.doit = false;
                         return;
+                    default:
                     }
                     Control c = cast(Control) e.widget;
                     ControlSegment segment = cast(ControlSegment) c
@@ -730,6 +732,7 @@
                     if (!e.doit)
                         e.detail = DWT.TRAVERSE_NONE;
                     break;
+                default:
                 }
             }
         };
--- a/dwtx/ui/forms/widgets/ScrolledPageBook.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/ui/forms/widgets/ScrolledPageBook.d	Mon Nov 03 22:52:26 2008 +0100
@@ -72,6 +72,7 @@
                 case DWT.TRAVERSE_TAB_PREVIOUS :
                     e.doit = true;
                     break;
+                default:
             }
         }));
     }
--- a/dwtx/ui/forms/widgets/ToggleHyperlink.d	Tue Oct 28 23:59:57 2008 +0100
+++ b/dwtx/ui/forms/widgets/ToggleHyperlink.d	Mon Nov 03 22:52:26 2008 +0100
@@ -83,6 +83,7 @@
                     case DWT.KeyDown:
                         onKeyDown(e);
                         break;
+                    default:
                 }
             }
         };