Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Code cleanup.

  • Loading branch information...
commit 931c243f0b38b87d80d94592bd0a9df2162d1880 1 parent 2586ab5
@enyim authored
View
2  Enyim.Caching/Configuration/AuthenticationConfiguration.cs
@@ -1,7 +1,5 @@
using System;
using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using Enyim.Caching.Memcached;
namespace Enyim.Caching.Configuration
View
2  Enyim.Caching/Configuration/AuthenticationElement.cs
@@ -25,7 +25,7 @@ public Type Type
protected override bool OnDeserializeUnrecognizedAttribute(string name, string value)
{
- ConfigurationProperty property = new ConfigurationProperty(name, typeof(string), value);
+ var property = new ConfigurationProperty(name, typeof(string), value);
base[property] = value;
this.parameters[name] = value;
View
3  Enyim.Caching/Configuration/ConfigurationElementException.cs
@@ -1,7 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using System.Configuration;
namespace Enyim.Caching.Configuration
View
1  Enyim.Caching/Configuration/EndPointElement.cs
@@ -1,6 +1,5 @@
using System;
using System.Configuration;
-using System.Net;
namespace Enyim.Caching.Configuration
{
View
5 Enyim.Caching/Configuration/TextElement.cs
@@ -1,10 +1,5 @@
using System;
-using System.ComponentModel;
using System.Configuration;
-using System.Collections.Generic;
-using Enyim.Caching.Memcached;
-using Enyim.Reflection;
-using System.Xml.Linq;
namespace Enyim.Caching.Configuration
{
View
2  Enyim.Caching/HashkitCrc32.cs
@@ -31,7 +31,7 @@ protected override void HashCore(byte[] array, int ibStart, int cbSize)
{
if (array == null) throw new ArgumentNullException("array");
if (ibStart < 0 || ibStart > array.Length) throw new ArgumentOutOfRangeException("ibStart");
- if (ibStart + cbSize > array.Length) throw new ArgumentOutOfRangeException("length");
+ if (ibStart + cbSize > array.Length) throw new ArgumentOutOfRangeException("cbSize");
if (this.shouldReset)
{
View
9 Enyim.Caching/IUIntHashAlgorithm.cs
@@ -1,13 +1,4 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Security.Cryptography;
-using System.Net;
-using System.Web.Script.Serialization;
-using System.Collections.ObjectModel;
-using System.Web;
-using Enyim.Caching.Memcached;
namespace Enyim
{
Please sign in to comment.
Something went wrong with that request. Please try again.