<filename>CodeSmell/DataClass.py<gh_stars>0
## Problem
class ColorSpec:
   def __init(self, color_of_product_to_find):
      self._color_of_product_to_find = color_of_product_to_find

   def get_color_of_product_to_find(self):
      return self._color_of_product_to_find

## Solution
class ColorSpec:
   def __init__(self, color_of_product_to_find):
      self._color_of_product_to_find = color_of_product_to_find

   def get_color_of_product_to_find(self):
      return self._color_of_product_to_find

   def is_satisfied_by(self, product):
      return product.get_color() is self._color_of_product_to_find

<filename>CodeSmell/DataClass.py<gh_stars>0
## Problem
class ColorSpec:
   def __init(self, color_of_product_to_find):
      self._color_of_product_to_find = color_of_product_to_find

   def get_color_of_product_to_find(self):
      return self._color_of_product_to_find

## Solution
class ColorSpec:
   def __init__(self, color_of_product_to_find):
      self._color_of_product_to_find = color_of_product_to_find

   def get_color_of_product_to_find(self):
      return self._color_of_product_to_find

   def is_satisfied_by(self, product):
      return product.get_color() is self._color_of_product_to_find

## Problem ## Solution