Remove unnecessary braces to save vertical space.
authorRob Wilkens <RobWilkens@gmail.com>
Wed, 20 Jun 2012 11:21:24 +0000 (07:21 -0400)
committerRob Wilkens <RobWilkens@gmail.com>
Wed, 20 Jun 2012 11:21:24 +0000 (07:21 -0400)
mcs/class/System/System.IO/KeventWatcher.cs

index 5a58e6a1e30cf3e6a8d68af4bdeb69e7060c1290..1af2d2c4c93dfed2f261637565b93a711fe4c0a3 100644 (file)
@@ -334,9 +334,8 @@ namespace System.IO {
                                return;
 
                        lock (fsw) {
-                               if (changedFsi.FullName.StartsWith (fsw.FullPath)) {
+                               if (changedFsi.FullName.StartsWith (fsw.FullPath))
                                        filename = changedFsi.FullName.Substring (fsw.FullPath.Length + 1);
-                               }
                                fsw.DispatchEvents (fa, filename, ref renamed);
                                if (fsw.Waiting) {
                                        fsw.Waiting = false;