Skip to content

Commit c78a8fd

Browse files
author
Alex Bomko
committed
MAGETWO-51947: Prepare pull request
1 parent 7b13d39 commit c78a8fd

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

app/code/Magento/BundleSampleData/Model/Product.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ protected function prepareProduct($product, $data)
115115
*/
116116
private function getOptionFactory()
117117
{
118-
119118
if (!$this->optionFactory) {
120119
$this->optionFactory = ObjectManager::getInstance()->get(
121120
'\Magento\Bundle\Api\Data\OptionInterfaceFactory'
@@ -132,7 +131,6 @@ private function getOptionFactory()
132131
*/
133132
private function getLinkFactory()
134133
{
135-
136134
if (!$this->linkFactory) {
137135
$this->linkFactory = ObjectManager::getInstance()->get(
138136
'\Magento\Bundle\Api\Data\LinkInterfaceFactory'
@@ -149,7 +147,6 @@ private function getLinkFactory()
149147
*/
150148
private function getProductRepository()
151149
{
152-
153150
if (!$this->productRepository) {
154151
$this->productRepository = ObjectManager::getInstance()->get(
155152
'\Magento\Catalog\Api\ProductRepositoryInterface'

app/code/Magento/DownloadableSampleData/Model/Product.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ protected function prepareProduct($product, $data)
187187
*/
188188
private function getLinkFactory()
189189
{
190-
191190
if (!$this->linkFactory) {
192191
$this->linkFactory = ObjectManager::getInstance()->get(
193192
'\Magento\Downloadable\Api\Data\LinkInterfaceFactory'
@@ -204,7 +203,6 @@ private function getLinkFactory()
204203
*/
205204
private function getSampleFactory()
206205
{
207-
208206
if (!$this->sampleFactory) {
209207
$this->sampleFactory = ObjectManager::getInstance()->get(
210208
'\Magento\Downloadable\Api\Data\SampleInterfaceFactory'

0 commit comments

Comments
 (0)