diff --git a/Code/BasicFilters/otbSpectralAngleDataNodeFeatureFunction.h b/Code/BasicFilters/otbSpectralAngleDataNodeFeatureFunction.h
index 2b59f159750761838dc6f82dad8ade82f3a928d9..fd91793245a20a4c3e9e56dc1783750c64515201 100644
--- a/Code/BasicFilters/otbSpectralAngleDataNodeFeatureFunction.h
+++ b/Code/BasicFilters/otbSpectralAngleDataNodeFeatureFunction.h
@@ -98,7 +98,7 @@ public:
   typedef Functor::BinarySpectralAngleFunctor<PixelType, ReferencePixelType, PrecisionType>
                                                       SpectralAngleFunctorType;
 
-  typedef std::pair<IndexType, IndexType>             IndexPairType; 
+  typedef std::pair<IndexType, IndexType>             IndexPairType;
   typedef std::vector<PrecisionType>                  OutputType;
 
   virtual OutputType Evaluate( const DataNodeType& node ) const;
diff --git a/Code/IO/otbVectorDataKeywordlist.h b/Code/IO/otbVectorDataKeywordlist.h
index 4121814071d55e7c5d6e34f5811deec4a7453515..5ca9f20549a1c6eda130da3b0dbc584e0f5319b1 100644
--- a/Code/IO/otbVectorDataKeywordlist.h
+++ b/Code/IO/otbVectorDataKeywordlist.h
@@ -95,7 +95,7 @@ public:
     * \param key The name of the field.
     * \param value The value of the field.
     */
-  void SetFieldAsInt(std::string key, int value); 
+  void SetFieldAsInt(std::string key, int value);
   
   /**
     * Returns the value associated with a field name.
diff --git a/Testing/Code/IO/otbGDALImageIOTestWriteMetadata.cxx b/Testing/Code/IO/otbGDALImageIOTestWriteMetadata.cxx
index a435c957d6f13e539a972f5932e6547f3b44b141..1edcee424a828546d1a0dec0d4ecf5e1b69f1a7d 100644
--- a/Testing/Code/IO/otbGDALImageIOTestWriteMetadata.cxx
+++ b/Testing/Code/IO/otbGDALImageIOTestWriteMetadata.cxx
@@ -213,7 +213,7 @@ int otbGDALImageIOTestWriteMetadata(int argc, char * argv[])
   // Get some informations from file
   std::ofstream fileWriteRead;
   fileWriteRead.open(argv[3]);
-  fileWriteRead << "Projection Ref: "<< poDataset->GetProjectionRef()<< "\n" ;
+  fileWriteRead << "Projection Ref: "<< poDataset->GetProjectionRef()<< "\n";
   double GT[6];
   if (poDataset->GetGeoTransform(GT) == CE_None)
     {