[Mono.Debugger.Soft] minor code cleanup
[mono.git] / mcs / class / Mono.Debugger.Soft / Mono.Debugger.Soft / ObjectMirror.cs
index b877e2402f529ba82ea3124bb3848aceb4bf9864..030fa3e3e4ad431ec00f50e1b45a96451e2d56b2 100644 (file)
@@ -301,15 +301,15 @@ namespace Mono.Debugger.Soft
                                } catch (CommandException ex) {
                                        if (ex.ErrorCode == ErrorCode.INVALID_ARGUMENT)
                                                throw new ArgumentException ("Incorrect number or types of arguments", "arguments");
-                                       else
-                                               throw;
+
+                                       throw;
                                }
                                throw new NotImplementedException ();
                        } else {
                                if (r.Exception != null)
                                        throw new InvocationException ((ObjectMirror)r.VM.DecodeValue (r.Exception));
-                               else
-                                       return r.VM.DecodeValue (r.Value);
+
+                               return r.VM.DecodeValue (r.Value);
                        }
                }