From 507dafe07ad07772e4eb83a8140481e73ea2f965 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Traizet?= <cedric.traizet@c-s.fr>
Date: Thu, 9 May 2019 10:37:21 +0200
Subject: [PATCH] STY: run clang format

---
 .../app/otbLSMSSmallRegionsMerging.cxx            | 15 ++++++++-------
 .../include/otbWrapperApplication.h               |  2 +-
 .../src/otbWrapperCommandLineLauncher.cxx         | 10 +++++-----
 3 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/Modules/Applications/AppSegmentation/app/otbLSMSSmallRegionsMerging.cxx b/Modules/Applications/AppSegmentation/app/otbLSMSSmallRegionsMerging.cxx
index df37fde5eb..c2a33208d6 100644
--- a/Modules/Applications/AppSegmentation/app/otbLSMSSmallRegionsMerging.cxx
+++ b/Modules/Applications/AppSegmentation/app/otbLSMSSmallRegionsMerging.cxx
@@ -97,13 +97,14 @@ private:
                       " application is not compatible with in-memory connection since it does"
                       " its own internal streaming.");
     SetDocAuthors("David Youssefi");
-    SetDocSeeAlso( "Alternative: SmallRegionsMerging\n"
-                   "[1] Michel, J., Youssefi, D., & Grizonnet, M. (2015). Stable"
-                   " mean-shift algorithm and its application to the segmentation of"
-                   " arbitrarily large remote sensing images. IEEE Transactions on"
-                   " Geoscience and Remote Sensing, 53(2), 952-964.\n"
-                   "[2] LSMSSegmentation\n"
-                   "[3] LSMSVectorization");
+    SetDocSeeAlso(
+        "Alternative: SmallRegionsMerging\n"
+        "[1] Michel, J., Youssefi, D., & Grizonnet, M. (2015). Stable"
+        " mean-shift algorithm and its application to the segmentation of"
+        " arbitrarily large remote sensing images. IEEE Transactions on"
+        " Geoscience and Remote Sensing, 53(2), 952-964.\n"
+        "[2] LSMSSegmentation\n"
+        "[3] LSMSVectorization");
     AddDocTag(Tags::Segmentation);
     AddDocTag(Tags::Deprecated);
     AddDocTag("LSMS");
diff --git a/Modules/Wrappers/ApplicationEngine/include/otbWrapperApplication.h b/Modules/Wrappers/ApplicationEngine/include/otbWrapperApplication.h
index 4ac8aeb9f0..9d6b796e7b 100644
--- a/Modules/Wrappers/ApplicationEngine/include/otbWrapperApplication.h
+++ b/Modules/Wrappers/ApplicationEngine/include/otbWrapperApplication.h
@@ -672,7 +672,7 @@ public:
   virtual std::vector<std::string> GetDocTags() const;
 
   void AddDocTag(const std::string&);
-  
+
   /** return wether the application has the "deprecated tag or not */
   bool IsDeprecated();
 
diff --git a/Modules/Wrappers/CommandLine/src/otbWrapperCommandLineLauncher.cxx b/Modules/Wrappers/CommandLine/src/otbWrapperCommandLineLauncher.cxx
index bc7ea48ced..a054247b69 100644
--- a/Modules/Wrappers/CommandLine/src/otbWrapperCommandLineLauncher.cxx
+++ b/Modules/Wrappers/CommandLine/src/otbWrapperCommandLineLauncher.cxx
@@ -282,12 +282,12 @@ bool CommandLineLauncher::BeforeExecute()
     return false;
     }
 
-  if (m_Application->IsDeprecated())
-  {
-    m_Application->GetLogger()->Warning("This application is deprecated and will be removed in a future OTB release.\n");
-  }
+    if (m_Application->IsDeprecated())
+    {
+      m_Application->GetLogger()->Warning("This application is deprecated and will be removed in a future OTB release.\n");
+    }
 
-  return true;
+    return true;
 }
 
 bool CommandLineLauncher::LoadPath()
-- 
GitLab