From 9f9d3fe954389660c0078555a448615868189b22 Mon Sep 17 00:00:00 2001
From: Dmytro Poperechnyy <dpoperechnyy@magento.com>
Date: Sun, 30 Oct 2016 00:31:41 +0300
Subject: [PATCH] MAGETWO-60155: Default Billing Address and Default Shipping
 Address checkboxes on Customer page are saved incorrectly

 - Removed importing in namespace;
---
 .../Magento/Customer/Controller/Adminhtml/Index/Save.php    | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/Save.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/Save.php
index bffbc551518..1c38dfa0c71 100644
--- a/app/code/Magento/Customer/Controller/Adminhtml/Index/Save.php
+++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/Save.php
@@ -11,11 +11,7 @@ use Magento\Customer\Api\Data\CustomerInterface;
 use Magento\Customer\Controller\RegistryConstants;
 use Magento\Customer\Model\EmailNotificationInterface;
 use Magento\Customer\Model\Metadata\Form;
-use Magento\Framework\Exception\LocalizedException;
 
-/**
- * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
- */
 class Save extends \Magento\Customer\Controller\Adminhtml\Index
 {
     /**
@@ -271,7 +267,7 @@ class Save extends \Magento\Customer\Controller\Adminhtml\Index
                 $this->_addSessionErrorMessages($messages);
                 $this->_getSession()->setCustomerFormData($originalRequestData);
                 $returnToEdit = true;
-            } catch (LocalizedException $exception) {
+            } catch (\Magento\Framework\Exception\LocalizedException $exception) {
                 $this->_addSessionErrorMessages($exception->getMessage());
                 $this->_getSession()->setCustomerFormData($originalRequestData);
                 $returnToEdit = true;
-- 
GitLab