diff --git a/Code/UtilitiesAdapters/OpenCV/otbMachineLearningModelFactory.txx b/Code/UtilitiesAdapters/OpenCV/otbMachineLearningModelFactory.txx
index b48e0f7c98c050576499627b08eae923a2fd1fab..daf295b9c9aafbe1d1eb02472cc90e975337ef92 100644
--- a/Code/UtilitiesAdapters/OpenCV/otbMachineLearningModelFactory.txx
+++ b/Code/UtilitiesAdapters/OpenCV/otbMachineLearningModelFactory.txx
@@ -101,7 +101,7 @@ template <class TInputValue, class TOutputValue>
 void
 MachineLearningModelFactory<TInputValue,TOutputValue>
 ::RegisterFactory(itk::ObjectFactoryBase * factory)
-{ 
+{
   // Unregister any previously registered factory of the same class
   // Might be more intensive but static bool is not an option due to
   // ld error.
diff --git a/Code/UtilitiesAdapters/OpenCV/otbMachineLearningModelFactoryBase.h b/Code/UtilitiesAdapters/OpenCV/otbMachineLearningModelFactoryBase.h
index b39b2edc1d317ff6394cc72f3bb37574a773223c..2058d645b88813699193e548c6e4a2cd3500b891 100644
--- a/Code/UtilitiesAdapters/OpenCV/otbMachineLearningModelFactoryBase.h
+++ b/Code/UtilitiesAdapters/OpenCV/otbMachineLearningModelFactoryBase.h
@@ -25,10 +25,10 @@ namespace otb
 {
 /** \class MachineLearningModelFactoryBase
  * \brief Base class for the MachinelearningModelFactory
- * 
+ *
  * This class intends to hold the static attributes that can not be
  * part of a template class (ld error).
- * 
+ *
  */
 class ITK_EXPORT MachineLearningModelFactoryBase : public itk::Object
 {
@@ -46,7 +46,7 @@ protected:
   MachineLearningModelFactoryBase();
   virtual ~MachineLearningModelFactoryBase();
 
-  static itk::SimpleMutexLock mutex; 
+  static itk::SimpleMutexLock mutex;
 
 private:
   MachineLearningModelFactoryBase(const Self &); //purposely not implemented
diff --git a/Testing/Code/IO/otbImageFileWriterWithExtendedOptionBox.cxx b/Testing/Code/IO/otbImageFileWriterWithExtendedOptionBox.cxx
index b1d2a48f71b5021fc2d7325df5254ed2ac247660..c028cd59f4c4d4720aa36f57eefdb0beaab5877b 100644
--- a/Testing/Code/IO/otbImageFileWriterWithExtendedOptionBox.cxx
+++ b/Testing/Code/IO/otbImageFileWriterWithExtendedOptionBox.cxx
@@ -67,7 +67,7 @@ int otbImageFileWriterWithExtendedOptionBox(int argc, char* argv[])
                          << starty << separator
                          << sizex << separator
                          << sizey
-          ;
+         ;
 
   std::cout << "Output image with user defined path " << outputFilenameExtended.str() << std::endl;