Author: husted
Date: Thu Sep 28 09:03:51 2006
New Revision: 450910
URL: http://svn.apache.org/viewvc?view=rev&rev=450910
Log:
Resharper tweaks
Modified:
struts/sandbox/trunk/overdrive/Agility/Core/Chain.cs
Modified: struts/sandbox/trunk/overdrive/Agility/Core/Chain.cs
URL:
http://svn.apache.org/viewvc/struts/sandbox/trunk/overdrive/Agility/Core/Chain.cs?view=diff&rev=450910&r1=450909&r2=450910
==============================================================================
--- struts/sandbox/trunk/overdrive/Agility/Core/Chain.cs (original)
+++ struts/sandbox/trunk/overdrive/Agility/Core/Chain.cs Thu Sep 28 09:03:51
2006
@@ -123,7 +123,7 @@
// or throws an exception
bool saveResult = false;
Exception saveException = null;
- int i = 0;
+ int i;
int n = commands.Length;
;
for (i = 0; i < n; i++)
@@ -146,7 +146,7 @@
i--;
}
bool handled = false;
- bool result = false;
+ bool result;
for (int j = i; j >= 0; j--)
{
if (commands[j] is IFilter)
@@ -160,7 +160,7 @@
}
catch (Exception e)
{
- e = e; // Silently ignore
+ if (e == null) throw (e); //
Silently ignore
}
}
}