Skip to content

Commit

Permalink
nopSolutions#1587 Refactoring. Remove unnecessary usings
Browse files Browse the repository at this point in the history
  • Loading branch information
skoshelev committed Jul 21, 2016
1 parent 7c14af5 commit b369f08
Show file tree
Hide file tree
Showing 28 changed files with 1 addition and 47 deletions.
2 changes: 0 additions & 2 deletions src/Libraries/Nop.Core/Caching/MemoryCacheManager.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Caching;
using System.Text.RegularExpressions;

namespace Nop.Core.Caching
{
Expand Down
3 changes: 0 additions & 3 deletions src/Libraries/Nop.Core/Caching/PerRequestCacheManager.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Web;
using System.Linq;
using System.Text.RegularExpressions;

namespace Nop.Core.Caching
{
Expand Down
3 changes: 1 addition & 2 deletions src/Libraries/Nop.Data/SqlCeDataProvider.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Data.Common;
using System.Data.Common;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Data.SqlClient;
Expand Down
1 change: 0 additions & 1 deletion src/Libraries/Nop.Services/Customers/DeleteGuestsTask.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using Nop.Core.Domain.Common;
using Nop.Core.Domain.Customers;
using Nop.Services.Tasks;

Expand Down
1 change: 0 additions & 1 deletion src/Libraries/Nop.Services/ExportImport/IExportManager.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.IO;
using Nop.Core.Domain.Catalog;
using Nop.Core.Domain.Customers;
using Nop.Core.Domain.Directory;
Expand Down
1 change: 0 additions & 1 deletion src/Libraries/Nop.Services/ExportImport/ImportManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
using Nop.Core.Domain.Media;
using Nop.Core.Domain.Messages;
using Nop.Services.Catalog;
using Nop.Services.Configuration;
using Nop.Services.Directory;
using Nop.Services.ExportImport.Help;
using Nop.Services.Media;
Expand Down
2 changes: 0 additions & 2 deletions src/Libraries/Nop.Services/Forums/ForumExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
using System;
using System.Linq;
using Nop.Core.Domain.Customers;
using Nop.Core.Domain.Forums;
using Nop.Core.Html;
using Nop.Core.Infrastructure;
using Nop.Services.Customers;

namespace Nop.Services.Forums
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
using Nop.Core.Domain.Catalog;
using Nop.Core.Domain.Cms;
using Nop.Core.Domain.Common;
using Nop.Core.Domain.Configuration;
using Nop.Core.Domain.Customers;
using Nop.Core.Domain.Directory;
using Nop.Core.Domain.Discounts;
Expand Down
2 changes: 0 additions & 2 deletions src/Libraries/Nop.Services/Orders/IOrderService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
using System.Collections.Generic;
using Nop.Core;
using Nop.Core.Domain.Orders;
using Nop.Core.Domain.Payments;
using Nop.Core.Domain.Shipping;

namespace Nop.Services.Orders
{
Expand Down
1 change: 0 additions & 1 deletion src/Libraries/Nop.Services/Orders/IRewardPointService.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.Collections.Generic;
using Nop.Core;
using Nop.Core.Domain.Customers;
using Nop.Core.Domain.Orders;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using Nop.Core;
using Nop.Core.Domain.Catalog;
using Nop.Core.Domain.Common;
Expand Down
2 changes: 0 additions & 2 deletions src/Libraries/Nop.Services/Orders/OrderService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
using Nop.Core.Domain.Catalog;
using Nop.Core.Domain.Customers;
using Nop.Core.Domain.Orders;
using Nop.Core.Domain.Payments;
using Nop.Core.Domain.Shipping;
using Nop.Services.Events;

namespace Nop.Services.Orders
Expand Down
1 change: 0 additions & 1 deletion src/Libraries/Nop.Services/Orders/RewardPointService.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Nop.Core;
using Nop.Core.Data;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Linq;
using Nop.Core;
using Nop.Core.Plugins;
using Nop.Services.Configuration;
using Nop.Services.Discounts;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Nop.Core;
using Nop.Core.Domain.Customers;
using Nop.Core.Domain.Orders;
using Nop.Core.Plugins;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Linq;
using Nop.Core;
using Nop.Core.Domain.Orders;
using Nop.Core.Plugins;
using Nop.Services.Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Linq;
using System.Web.Mvc;
using Nop.Core;
using Nop.Core.Domain.Common;
using Nop.Plugin.Pickup.PickupInStore.Domain;
using Nop.Plugin.Pickup.PickupInStore.Models;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
using Nop.Services.Localization;
using Nop.Services.Security;
using Nop.Services.Stores;
using Nop.Web.Framework;
using Nop.Web.Framework.Controllers;
using Nop.Web.Framework.Kendoui;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Linq;
using AutoMapper;
using Nop.Admin.Infrastructure.Mapper;
using Nop.Admin.Models.Blogs;
using Nop.Admin.Models.Catalog;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using FluentValidation.Attributes;
using Nop.Admin.Models.Stores;
using Nop.Admin.Validators.Catalog;
using Nop.Web.Framework;
using Nop.Web.Framework.Localization;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
@using Nop.Core.Domain
@using Nop.Core.Domain.Common;
@using Nop.Core.Domain.Localization
@using Nop.Core.Domain.Media
@using Nop.Services.Common
@using Nop.Services.Customers
@using Nop.Services.Media
@using Nop.Services.Security;
@{
var kendoVersion = "2014.1.318";
Expand Down
1 change: 0 additions & 1 deletion src/Presentation/Nop.Web/Controllers/CustomerController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
using Nop.Services.Seo;
using Nop.Services.Stores;
using Nop.Services.Tax;
using Nop.Services.Vendors;
using Nop.Web.Extensions;
using Nop.Web.Framework;
using Nop.Web.Framework.Controllers;
Expand Down
1 change: 0 additions & 1 deletion src/Presentation/Nop.Web/Controllers/InstallController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System.Linq;
using System.Security.Principal;
using System.Threading;
using System.Web.Hosting;
using System.Web.Mvc;
using Nop.Core;
using Nop.Core.Configuration;
Expand Down
1 change: 0 additions & 1 deletion src/Presentation/Nop.Web/Views/Product/_RentalInfo.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
@using System.Globalization
@using Nop.Core.Domain.Catalog
@using Nop.Core.Infrastructure
@using Nop.Services.Security
@using Nop.Web.Models.Catalog
@if (Model.IsRental)
{
Expand Down
10 changes: 0 additions & 10 deletions src/Tests/Nop.Data.Tests/Orders/RewardPointHistoryTests.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
using System;
using System.Linq;
using Nop.Core.Domain.Affiliates;
using Nop.Core.Domain.Catalog;
using Nop.Core.Domain.Common;
using Nop.Core.Domain.Customers;
using Nop.Core.Domain.Directory;
using Nop.Core.Domain.Discounts;
using Nop.Core.Domain.Orders;
using Nop.Core.Domain.Payments;
using Nop.Core.Domain.Shipping;
using Nop.Core.Domain.Tax;
using Nop.Tests;
using NUnit.Framework;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using Nop.Core.Domain.Common;
using Nop.Core.Domain.Customers;
using Nop.Core.Domain.Directory;
using Nop.Core.Domain.Vendors;
using Nop.Tests;
using NUnit.Framework;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
using Nop.Core.Domain.Shipping;
using Nop.Core.Domain.Tax;
using Nop.Services.Catalog;
using Nop.Services.Configuration;
using Nop.Services.ExportImport;
using Nop.Services.Media;
using Nop.Services.Messages;
Expand Down

0 comments on commit b369f08

Please sign in to comment.