From b4d7aaf081005efb077892f5d1753c0941944198 Mon Sep 17 00:00:00 2001
From: OTB Bot <otbbot@orfeo-toolbox.org>
Date: Fri, 28 Nov 2014 19:55:19 +0100
Subject: [PATCH] STYLE

---
 Applications/Utils/otbBandMathX.cxx           | 6 +++---
 Code/BasicFilters/otbBandMathXImageFilter.txx | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Applications/Utils/otbBandMathX.cxx b/Applications/Utils/otbBandMathX.cxx
index 5f00de72a5..bc49606954 100644
--- a/Applications/Utils/otbBandMathX.cxx
+++ b/Applications/Utils/otbBandMathX.cxx
@@ -118,14 +118,14 @@ private:
       "The application takes the following parameters :\n"
       "- Setting the list of inputs can be done with the 'il' parameter.\n"
       "- Setting expressions can be done with the 'exp' parameter (see also limitations section below).\n"
-      "- Setting constants can be done with the 'incontext' parameter. User must provide a txt file with a specific syntax: #type name value\n"    
+      "- Setting constants can be done with the 'incontext' parameter. User must provide a txt file with a specific syntax: #type name value\n"
       "An example of such a file is given below:\n\n"
       "#F expo 1.1\n"
       "#M kernel1 { 0.1 , 0.2 , 0.3; 0.4 , 0.5 , 0.6; 0.7 , 0.8 , 0.9; 1 , 1.1 , 1.2; 1.3 , 1.4 , 1.5 }\n"
       "\nAs we can see,  #I/#F allows the definition of an integer/float constant, whereas #M allows the definition of a vector/matrix.\n"
       "In the latter case, elements of a row must be separated by commas, and rows must be separated by semicolons.\n"
       "It is also possible to define expressions within the same txt file, with the pattern #E expr. For instance (two expressions; see also limitations section below):\n\n"
-      "#E dotpr(kernel1,im1b1N3x5) ; im2b1^expo\n"
+      "#E dotpr(kernel1,im1b1N3x5); im2b1^expo\n"
       "\n- The 'outcontext' parameter allows to save user's constants and expressions (context).\n"
       "- Setting the output image can be done with the 'out' parameter (multi-outputs is not implemented yet).\n"
       "\n\n"
@@ -134,7 +134,7 @@ private:
 );
 
     SetDocLimitations("The application is currently unable to produce one output image per expression, contrary to otbBandMathXImageFilter.\n"
-                      "Separating expressions by semi-colons (;) will concatenate their results into a unique multiband output image. ");
+                      "Separating expressions by semi-colons (; ) will concatenate their results into a unique multiband output image. ");
     SetDocAuthors("OTB-Team");
     SetDocSeeAlso(" ");
     AddDocTag("Util");
diff --git a/Code/BasicFilters/otbBandMathXImageFilter.txx b/Code/BasicFilters/otbBandMathXImageFilter.txx
index 22de814401..e51d1d9ae2 100644
--- a/Code/BasicFilters/otbBandMathXImageFilter.txx
+++ b/Code/BasicFilters/otbBandMathXImageFilter.txx
@@ -369,7 +369,7 @@ void BandMathXImageFilter<TImage>
               iss << " " << m_VAllowedVarNameAddedByUser[i].value.At(k,0);
               for(int p=1; p<m_VAllowedVarNameAddedByUser[i].value.GetCols(); p++)
                 iss << " , " <<  m_VAllowedVarNameAddedByUser[i].value.At(k,p);
-              iss << " ;";
+              iss << ";";
             }
             str=iss.str();
             str.erase(str.size()-1);
-- 
GitLab