diff --git a/Code/IO/otbSpotImageMetadataInterface.cxx b/Code/IO/otbSpotImageMetadataInterface.cxx
index cdde8a29ea49dbc7e0e1e1a1dd8e6b9c762d5abb..5c00ea4b02435c80eb90ea3b4f94c5748faba5b5 100644
--- a/Code/IO/otbSpotImageMetadataInterface.cxx
+++ b/Code/IO/otbSpotImageMetadataInterface.cxx
@@ -173,7 +173,7 @@ SpotImageMetadataInterface::GetDay() const
   std::string valueString = imageKeywordlist.GetMetadataByKey("support_data.image_date");
   std::vector<std::string> outputValues;
 
-  boost::split(outputValues, valueString , boost::is_any_of(" T:-"));
+  boost::split(outputValues, valueString, boost::is_any_of(" T:-"));
 
   if (outputValues.size() <= 2) itkExceptionMacro(<< "Invalid Day");