LOGCXX-502: Fixed various code style issues in appenderattachable.h.
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 507164f..b7ed563 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -25,7 +25,8 @@
<body>
<release version="0.11.0"
date="XXXX-XX-XX"
- description="Maintenance release">
+ description="Maintenance release.">
+ <action issue="LOGCXX-502" type="update">appenderattachable.h function doc formatted "incorrectly"</action>
<action issue="LOGCXX-500" type="update">Logging in Timing-Critical Applications</action>
<action issue="LOGCXX-493" type="fix">Wrong usage of milli- vs. micro- and non- vs. milliseconds in some docs.</action>
<action issue="LOGCXX-488" type="fix">Space after log level hides messages</action>
diff --git a/src/main/include/log4cxx/spi/appenderattachable.h b/src/main/include/log4cxx/spi/appenderattachable.h
index bd49f0d..490a23e 100644
--- a/src/main/include/log4cxx/spi/appenderattachable.h
+++ b/src/main/include/log4cxx/spi/appenderattachable.h
@@ -31,18 +31,17 @@
namespace log4cxx
{
-
namespace spi
{
-
/**
* This Interface is for attaching Appenders to objects.
*/
class LOG4CXX_EXPORT AppenderAttachable : public virtual helpers::Object
{
public:
- // Methods
- DECLARE_ABSTRACT_LOG4CXX_OBJECT(AppenderAttachable)
+ // Methods
+ DECLARE_ABSTRACT_LOG4CXX_OBJECT(AppenderAttachable)
+
/**
* Add an appender.
*/
@@ -59,10 +58,10 @@
virtual AppenderPtr getAppender(const LogString& name) const = 0;
/**
- Returns <code>true</code> if the specified appender is in list of
- attached attached, <code>false</code> otherwise.
- */
- virtual bool isAttached(const AppenderPtr& appender) const = 0;
+ * Returns <code>true</code> if the specified appender is in list of
+ * attached appenders, <code>false</code> otherwise.
+ */
+ virtual bool isAttached(const AppenderPtr& appender) const = 0;
/**
* Remove all previously added appenders.
@@ -80,13 +79,11 @@
*/
virtual void removeAppender(const LogString& name) = 0;
- // Dtor
- virtual ~AppenderAttachable(){}
+ // Dtor
+ virtual ~AppenderAttachable() {}
};
-
LOG4CXX_PTR_DEF(AppenderAttachable);
-
}
}
@@ -94,5 +91,4 @@
#pragma warning ( pop )
#endif
-
#endif //_LOG4CXX_SPI_APPENDER_ATTACHABLE_H_