This is an automated email from the ASF dual-hosted git repository.
gangwu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-cpp.git
The following commit(s) were added to refs/heads/main by this push:
new ad14e5ab refactor: add final modifier to rest error handlers (#356)
ad14e5ab is described below
commit ad14e5abbf05767dfb5be3f74f83937ec21c1e7a
Author: Zehua Zou <[email protected]>
AuthorDate: Thu Nov 27 15:28:55 2025 +0800
refactor: add final modifier to rest error handlers (#356)
---
src/iceberg/catalog/rest/error_handlers.h | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/iceberg/catalog/rest/error_handlers.h
b/src/iceberg/catalog/rest/error_handlers.h
index 072d7044..42a0d8c8 100644
--- a/src/iceberg/catalog/rest/error_handlers.h
+++ b/src/iceberg/catalog/rest/error_handlers.h
@@ -71,7 +71,7 @@ class ICEBERG_REST_EXPORT NamespaceErrorHandler : public
DefaultErrorHandler {
};
/// \brief Error handler for drop namespace operations.
-class ICEBERG_REST_EXPORT DropNamespaceErrorHandler : public
NamespaceErrorHandler {
+class ICEBERG_REST_EXPORT DropNamespaceErrorHandler final : public
NamespaceErrorHandler {
public:
/// \brief Returns the singleton instance
static const std::shared_ptr<DropNamespaceErrorHandler>& Instance();
@@ -83,7 +83,7 @@ class ICEBERG_REST_EXPORT DropNamespaceErrorHandler : public
NamespaceErrorHandl
};
/// \brief Table-level error handler.
-class ICEBERG_REST_EXPORT TableErrorHandler : public DefaultErrorHandler {
+class ICEBERG_REST_EXPORT TableErrorHandler final : public DefaultErrorHandler
{
public:
/// \brief Returns the singleton instance
static const std::shared_ptr<TableErrorHandler>& Instance();
@@ -95,7 +95,7 @@ class ICEBERG_REST_EXPORT TableErrorHandler : public
DefaultErrorHandler {
};
/// \brief View-level error handler.
-class ICEBERG_REST_EXPORT ViewErrorHandler : public DefaultErrorHandler {
+class ICEBERG_REST_EXPORT ViewErrorHandler final : public DefaultErrorHandler {
public:
/// \brief Returns the singleton instance
static const std::shared_ptr<ViewErrorHandler>& Instance();
@@ -107,7 +107,7 @@ class ICEBERG_REST_EXPORT ViewErrorHandler : public
DefaultErrorHandler {
};
/// \brief Table commit operation error handler.
-class ICEBERG_REST_EXPORT TableCommitErrorHandler : public DefaultErrorHandler
{
+class ICEBERG_REST_EXPORT TableCommitErrorHandler final : public
DefaultErrorHandler {
public:
/// \brief Returns the singleton instance
static const std::shared_ptr<TableCommitErrorHandler>& Instance();
@@ -119,7 +119,7 @@ class ICEBERG_REST_EXPORT TableCommitErrorHandler : public
DefaultErrorHandler {
};
/// \brief View commit operation error handler.
-class ICEBERG_REST_EXPORT ViewCommitErrorHandler : public DefaultErrorHandler {
+class ICEBERG_REST_EXPORT ViewCommitErrorHandler final : public
DefaultErrorHandler {
public:
/// \brief Returns the singleton instance
static const std::shared_ptr<ViewCommitErrorHandler>& Instance();