From 4d760ccc5563acca0cdb31f322d85a878a453188 Mon Sep 17 00:00:00 2001
From: Julien Michel <julien.michel@orfeo-toolbox.org>
Date: Thu, 5 Mar 2015 09:39:40 +0100
Subject: [PATCH] ENH: Renaming app with wrong name

---
 Modules/Applications/AppImageUtils/app/CMakeLists.txt    | 2 +-
 Modules/Applications/AppImageUtils/app/otbPixelValue.cxx | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Modules/Applications/AppImageUtils/app/CMakeLists.txt b/Modules/Applications/AppImageUtils/app/CMakeLists.txt
index d0a1a32649..78cdacc701 100644
--- a/Modules/Applications/AppImageUtils/app/CMakeLists.txt
+++ b/Modules/Applications/AppImageUtils/app/CMakeLists.txt
@@ -33,7 +33,7 @@ otb_create_application(
   LINK_LIBRARIES ${${otb-module}_LIBRARIES})
 
 otb_create_application(
-  NAME           PixelInfo
+  NAME           PixelValue
   SOURCES        otbPixelValue.cxx
   LINK_LIBRARIES ${${otb-module}_LIBRARIES})
 
diff --git a/Modules/Applications/AppImageUtils/app/otbPixelValue.cxx b/Modules/Applications/AppImageUtils/app/otbPixelValue.cxx
index 37a5a972b2..6610aaa7c5 100644
--- a/Modules/Applications/AppImageUtils/app/otbPixelValue.cxx
+++ b/Modules/Applications/AppImageUtils/app/otbPixelValue.cxx
@@ -25,11 +25,11 @@ namespace otb
 namespace Wrapper
 {
 
-class PixelInfo : public Application
+class PixelValue : public Application
 {
 public:
   /** Standard class typedefs. */
-  typedef PixelInfo                     Self;
+  typedef PixelValue                     Self;
   typedef Application                   Superclass;
   typedef itk::SmartPointer<Self>       Pointer;
   typedef itk::SmartPointer<const Self> ConstPointer;
@@ -40,7 +40,7 @@ public:
   /** Standard macro */
   itkNewMacro(Self);
 
-  itkTypeMacro(PixelInfo, otb::Application);
+  itkTypeMacro(PixelValue, otb::Application);
 
 private:
   void DoInit()
@@ -157,4 +157,4 @@ private:
 }
 }
 
-OTB_APPLICATION_EXPORT(otb::Wrapper::PixelInfo)
+OTB_APPLICATION_EXPORT(otb::Wrapper::PixelValue)
-- 
GitLab