diff --git a/Modules/Applications/AppSegmentation/app/otbLSMSSmallRegionsMerging.cxx b/Modules/Applications/AppSegmentation/app/otbLSMSSmallRegionsMerging.cxx index df37fde5ebbdc0c498f548eee847671768d9deaa..c2a33208d6bef35394460c0c6e6207c383326639 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 4ac8aeb9f0b90e8a0a20fe379c3b3451d2cfa1d2..9d6b796e7b37ebdb1454f2b4a2d4a78005e1b479 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 bc7ea48cedf3ce0eec05f480a5161fcdb0d0bd86..a054247b699d1f5377bd1cfd973460955f3d16b9 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()