diff --git a/Code/Common/otbVectorDataSource.h b/Code/Common/otbVectorDataSource.h index 14b6d35933526ebb0273795d87181581019a9c68..dbec9ddef8dcf1f54cb2254584bf547edd6f7f95 100644 --- a/Code/Common/otbVectorDataSource.h +++ b/Code/Common/otbVectorDataSource.h @@ -59,11 +59,11 @@ public: /** Graft the specified DataObject onto this ProcessObject's output. * This method grabs a handle to the specified DataObject's bulk - * data to used as its output's own bulk data. + * data to used as its output's own bulk data. * Most importantly, however, it leaves the Source ivar untouched so - * the original pipeline routing is intact. This method is used when + * the original pipeline routing is intact. This method is used when * a process object is implemented using a mini-pipeline which is - * defined in its GenerateData() method. + * defined in its GenerateData() method. * */ virtual void GraftOutput(itk::DataObject *output); diff --git a/Code/Common/otbVectorDataSource.txx b/Code/Common/otbVectorDataSource.txx index a4e92caaa3ea2a56a810c5c2f991216a7c9a53c5..9b064c38d0dc9bbcf114a3f87c15dab313c11d6a 100644 --- a/Code/Common/otbVectorDataSource.txx +++ b/Code/Common/otbVectorDataSource.txx @@ -41,7 +41,7 @@ VectorDataSource<TOutputVectorData> } /** - * + * */ template <class TOutputVectorData> @@ -53,7 +53,7 @@ VectorDataSource<TOutputVectorData> } /** - * + * */ template <class TOutputVectorData> @@ -63,9 +63,9 @@ VectorDataSource<TOutputVectorData> { if ( idx >= this->GetNumberOfOutputs() ) { - itkExceptionMacro(<<"Requested to graft output " << idx << + itkExceptionMacro(<<"Requested to graft output " << idx << " but this filter only has " << this->GetNumberOfOutputs() << " Outputs."); - } + } if ( !graft ) {