[hyena] Log: small cosmetic improvement to previous commit



commit a2e6188e349e718925e47643b5b88468b70dae6c
Author: Andrés G. Aragoneses <knocte gmail com>
Date:   Thu Jul 17 12:42:40 2014 +0200

    Log: small cosmetic improvement to previous commit
    
    There's no need to use the "Impl" suffix for the private
    implementation method of Exception(...), as there is no
    overlapping overload for it that receives 3 parameters.

 Hyena/Hyena/Log.cs |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/Hyena/Hyena/Log.cs b/Hyena/Hyena/Log.cs
index ebe25b0..e0b047f 100644
--- a/Hyena/Hyena/Log.cs
+++ b/Hyena/Hyena/Log.cs
@@ -354,12 +354,12 @@ namespace Hyena
 
         public static void Warning (Exception e)
         {
-            ExceptionImpl (null, e, false);
+            Exception (null, e);
         }
 
         public static void Warning (string message, Exception e)
         {
-            ExceptionImpl (message, e, false);
+            Exception (message, e, false);
         }
 
         public static void Warning (string message, bool showUser)
@@ -398,12 +398,12 @@ namespace Hyena
 
         public static void Error (Exception e)
         {
-            ExceptionImpl (null, e, true);
+            Exception (null, e);
         }
 
         public static void Error (string message, Exception e)
         {
-            ExceptionImpl (message, e, true);
+            Exception (message, e, true);
         }
 
         public static void ErrorFormat (string format, params object [] args)
@@ -432,10 +432,10 @@ namespace Hyena
         public static void Exception (string message, Exception e)
         {
             bool severe = String.IsNullOrEmpty (message);
-            ExceptionImpl (message, e, severe);
+            Exception (message, e, severe);
         }
 
-        private static void ExceptionImpl (string message, Exception e, bool severe)
+        private static void Exception (string message, Exception e, bool severe)
         {
             Stack<Exception> exception_chain = new Stack<Exception> ();
             StringBuilder builder = new StringBuilder ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]