diff dwtx/jface/internal/text/source/DiffPainter.d @ 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 1a5b8f8129df
children
line wrap: on
line diff
--- 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$
     }